code: def test_qm9():
      dataset = datasets.QM9(amount=100)
      dl = DisjointLoader(dataset, batch_size=batch_size)
      dl.__next__()
  
      bl = BatchLoader(dataset, batch_size=batch_size)
      bl.__next__()
  
file_path: spektral/tests/test_datasets.py
imports: from spektral import datasets
  from spektral.data import BatchLoader, DisjointLoader, SingleLoader
label_desc: Use image node_id 7 for calling a global function with example usage: test_qm9() without return types