def node_type_offset(
        self, node_type_offset: Optional[torch.Tensor]
    ) -> None:
        """Sets the node type offset tensor if present."""
        self._c_csc_graph.set_node_type_offset(node_type_offset)
        self._node_type_offset_cached_list = None
Sets the node type offset tensor if present.
python/dgl/graphbolt/impl/fused_csc_sampling_graph.py