code: def clear(self) -> None:
      self.edge_values.clear()
      self.edge_masks.clear()
      self.node_values.clear()
      self.node_masks.clear()
      self.graph.clear()
      self.src_indices = cp.empty(0, self.src_indices.dtype)
      self.dst_indices = cp.empty(0, self.dst_indices.dtype)
      self._N = 0
      self._node_ids = None
      self.key_to_id = None
      self._id_to_key = None
  
imports: from __future__ import annotations
  import operator
  from copy import deepcopy
  from typing import TYPE_CHECKING
  import cupy
  import networkx
  import numpy
  import pylibcugraph
  import nx_cugraph
  from ..utils import index_dtype
label_desc: Use image node_id 19 for calling the Graph obj's underlying member method code with example usage: obj.clear() without return types