code: def test_csc_sampling_graph_to_pinned_memory():
      # Construct FusedCSCSamplingGraph.
      graph = create_fused_csc_sampling_graph()
  
      # Copy to pinned_memory in-place.
      graph.pin_memory_()
  
      is_graph_on_device_type(graph, "cpu")
      is_graph_pinned(graph)
  
imports: import os
  import pickle
  import re
  import tempfile
  import unittest
  import backend
  import dgl
  import dgl.graphbolt
  import pytest
  import torch
  import torch.multiprocessing
  from dgl.graphbolt.base import etype_str_to_tuple
  from scipy import sparse
  from ..None import gb_test_utils
label_desc: Use image node_id 32 for calling a global function with example usage: test_csc_sampling_graph_to_pinned_memory() without return types