class_docstr: A sampling graph in CSC format.
class_docstr_tok: ["A","sampling","graph","in","CSC","format","."]
docstr: Returns the node type offset list if present.
  
  Returns
  -------
  list or None
      If present, returns a 1D integer list of shape
      `(num_node_types + 1,)`. The list is in ascending order as nodes
      of the same type have continuous IDs, and larger node IDs are
      paired with larger node type IDs. The first value is 0 and last
      value is the number of nodes. And nodes with IDs between
      `node_type_offset_[i]~node_type_offset_[i+1]` are of type id 'i'.
docstr_tok: ["Returns","the","node","type","offset","list","if","present",".","Returns","--","--","--","-","list","or","None","If","present",",","returns","a","1D","integer","list","of","shape","`","(","num_node_types","+","1",",",")","`",".","The","list","is","in","ascending","order","as","nodes","of","the","same","type","have","continuous","IDs",",","and","larger","node","IDs","are","paired","with","larger","node","type","IDs",".","The","first","value","is","0","and","last","value","is","the","number","of","nodes",".","And","nodes","with","IDs","between","`","node_type_offset_","[","i","]","~node_type_offset_","[","i+1","]","`","are","of","type","id","'","i","'","."]
code: def _node_type_offset_list(self) -> Optional[list]:
      """Returns the node type offset list if present.
  
      Returns
      -------
      list or None
          If present, returns a 1D integer list of shape
          `(num_node_types + 1,)`. The list is in ascending order as nodes
          of the same type have continuous IDs, and larger node IDs are
          paired with larger node type IDs. The first value is 0 and last
          value is the number of nodes. And nodes with IDs between
          `node_type_offset_[i]~node_type_offset_[i+1]` are of type id 'i'.
  
      """
      if (
          not hasattr(self, "_node_type_offset_cached_list")
          or self._node_type_offset_cached_list is None
      ):
          self._node_type_offset_cached_list = self.node_type_offset
          if self._node_type_offset_cached_list is not None:
              self._node_type_offset_cached_list = (
                  self._node_type_offset_cached_list.tolist()
              )
      return self._node_type_offset_cached_list
  
imports: from typing import Dict, Optional, Union
  import torch
  from dgl.utils import recursive_apply
  from ...base import EID, ETYPE, NID, NTYPE
  from ...convert import to_homogeneous
  from ...heterograph import DGLGraph
  from ..base import etype_str_to_tuple, etype_tuple_to_str, ORIGINAL_EDGE_ID
  from ..sampling_graph import SamplingGraph
  from .sampled_subgraph_impl import CSCFormatBase, SampledSubgraphImpl
label_desc: Use image node_id 12 for calling the FusedCSCSamplingGraph obj's underlying member method code with example usage: obj._node_type_offset_list() and returns: self