class_docstr: Class for sampling graph.
docstr: Copy the graph to shared memory.
  
  Parameters
  ----------
  shared_memory_name : str
      Name of the shared memory.
  
  Returns
  -------
  SamplingGraph
      The copied SamplingGraph object on shared memory.
docstr_tok: ["Copy","the","graph","to","shared","memory",".","Parameters","--","--","--","--","--","shared_memory_name",":","str","Name","of","the","shared","memory",".","Returns","--","--","--","-","SamplingGraph","The","copied","SamplingGraph","object","on","shared","memory","."]
code: def copy_to_shared_memory(
      self, shared_memory_name: str
  ) -> "SamplingGraph":
      """Copy the graph to shared memory.
  
      Parameters
      ----------
      shared_memory_name : str
          Name of the shared memory.
  
      Returns
      -------
      SamplingGraph
          The copied SamplingGraph object on shared memory.
      """
      raise NotImplementedError
  
file_path: dgl/python/dgl/graphbolt/sampling_graph.py
imports: from typing import Dict, Union
  import torch
label_desc: Use image node_id 5 for calling the SamplingGraph obj's underlying member method code with example usage: obj.copy_to_shared_memory(shared_memory_name) without return types