code: def test_sampled_subgraph_impl_representation_homo():
      sampled_subgraph_impl = SampledSubgraphImpl(
          sampled_csc=gb.CSCFormatBase(
              indptr=torch.arange(0, 101, 10),
              indices=torch.arange(10, 110),
          ),
          original_column_node_ids=torch.arange(0, 10),
          original_row_node_ids=torch.arange(0, 110),
          original_edge_ids=None,
      )
      expected_result = str(
          """SampledSubgraphImpl(sampled_csc=CSCFormatBase(indptr=tensor([  0,  10,  20,  30,  40,  50,  60,  70,  80,  90, 100]),
                                               indices=tensor([ 10,  11,  12,  13,  14,  15,  16,  17,  18,  19,  20,  21,  22,  23,
                                                                24,  25,  26,  27,  28,  29,  30,  31,  32,  33,  34,  35,  36,  37,
                                                                38,  39,  40,  41,  42,  43,  44,  45,  46,  47,  48,  49,  50,  51,
                                                                52,  53,  54,  55,  56,  57,  58,  59,  60,  61,  62,  63,  64,  65,
                                                                66,  67,  68,  69,  70,  71,  72,  73,  74,  75,  76,  77,  78,  79,
                                                                80,  81,  82,  83,  84,  85,  86,  87,  88,  89,  90,  91,  92,  93,
                                                                94,  95,  96,  97,  98,  99, 100, 101, 102, 103, 104, 105, 106, 107,
                                                               108, 109]),
                                 ),
                     original_row_node_ids=tensor([  0,   1,   2,   3,   4,   5,   6,   7,   8,   9,  10,  11,  12,  13,
                                                    14,  15,  16,  17,  18,  19,  20,  21,  22,  23,  24,  25,  26,  27,
                                                    28,  29,  30,  31,  32,  33,  34,  35,  36,  37,  38,  39,  40,  41,
                                                    42,  43,  44,  45,  46,  47,  48,  49,  50,  51,  52,  53,  54,  55,
                                                    56,  57,  58,  59,  60,  61,  62,  63,  64,  65,  66,  67,  68,  69,
                                                    70,  71,  72,  73,  74,  75,  76,  77,  78,  79,  80,  81,  82,  83,
                                                    84,  85,  86,  87,  88,  89,  90,  91,  92,  93,  94,  95,  96,  97,
                                                    98,  99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109]),
                     original_edge_ids=None,
                     original_column_node_ids=tensor([0, 1, 2, 3, 4, 5, 6, 7, 8, 9]),
  )"""
      )
      assert str(sampled_subgraph_impl) == expected_result, print(
          sampled_subgraph_impl
      )
  
file_path: dgl/tests/python/pytorch/graphbolt/impl/test_sampled_subgraph_impl.py
imports: import unittest
  import backend
  import dgl.graphbolt
  import pytest
  import torch
  from dgl.graphbolt.impl.sampled_subgraph_impl import SampledSubgraphImpl
label_desc: Use image node_id 7 for calling a global function with example usage: test_sampled_subgraph_impl_representation_homo() without return types