code: def test_remove_edges():
      g = GraphData()
      g.add_nodes(10)
      g.add_edges(list(range(0, 9, 1)), list(range(1, 10, 1)))
      g.edge_features["random"] = torch.rand((9, 1024, 1024))
      mem_report()
      g.remove_all_edges()
      mem_report()
  
imports: import gc
  import time
  import matplotlib.pyplot
  import torch
  import torch.nn
  import pytest
  from ...data.data import GraphData, from_batch, from_dgl, to_batch
  from ...data.utils import EdgeNotFoundException, SizeMismatchException
label_desc: Use image node_id 18 for calling a global function with example usage: test_remove_edges() without return types