code: def test_train_test_split_dynamic_graph_static_signal_batch():
      snapshot_count = 250
      node_count = 100
      feature_count = 32
      graph_count = 10
  
      (
          edge_indices,
          edge_weights,
          features,
          targets,
          batches,
      ) = generate_signal(
          snapshot_count, node_count, feature_count, graph_count
      )
  
      feature = features[0]
  
      dataset = DynamicGraphStaticSignalBatch(
          edge_indices, edge_weights, feature, targets, batches
      )
  
      train_dataset, test_dataset = temporal_signal_split(dataset, 0.8)
  
      for _ in range(2):
          for snapshot in test_dataset:
              assert snapshot.edge_index.shape[0] == 2
              assert (
                  snapshot.edge_index.shape[1]
                  == snapshot.edge_attr.shape[0]
              )
              assert snapshot.x.shape == (
                  node_count * graph_count,
                  feature_count,
              )
              assert snapshot.y.shape == (node_count * graph_count,)
  
      for _ in range(2):
          for snapshot in train_dataset:
              assert snapshot.edge_index.shape[0] == 2
              assert (
                  snapshot.edge_index.shape[1]
                  == snapshot.edge_attr.shape[0]
              )
              assert snapshot.x.shape == (
                  node_count * graph_count,
                  feature_count,
              )
              assert snapshot.y.shape == (node_count * graph_count,)
  
imports: import numpy
  import networkx
  from torch_geometric_temporal.signal import temporal_signal_split
  from torch_geometric_temporal.signal import StaticGraphTemporalSignalBatch
  from torch_geometric_temporal.signal import DynamicGraphTemporalSignalBatch
  from torch_geometric_temporal.signal import DynamicGraphStaticSignalBatch
  from torch_geometric_temporal.signal import StaticHeteroGraphTemporalSignalBatch
  from torch_geometric_temporal.signal import DynamicHeteroGraphTemporalSignalBatch
  from torch_geometric_temporal.signal import DynamicHeteroGraphStaticSignalBatch
label_desc: Use image node_id 29 for calling a global function with example usage: test_train_test_split_dynamic_graph_static_signal_batch() without return types