code: def test_determinism(barbell):
      generator = GraphWaveGenerator(
          barbell, scales=(0.1, 2, 3, 4), degree=10
      )
      sample_points = np.linspace(0, 100, 25)
  
      embeddings_dataset = generator.flow(
          node_ids=barbell.nodes(),
          sample_points=sample_points,
          batch_size=1,
          repeat=False,
          shuffle=True,
          seed=1234,
      )
  
      first_epoch = _epoch_as_matrix(embeddings_dataset)
  
      embeddings_dataset = generator.flow(
          node_ids=barbell.nodes(),
          sample_points=sample_points,
          batch_size=1,
          repeat=False,
          shuffle=True,
          seed=1234,
      )
  
      second_epcoh = _epoch_as_matrix(embeddings_dataset)
  
      np.testing.assert_array_equal(first_epoch, second_epcoh)
  
file_path: stellargraph/tests/mapper/test_graphwave_generator.py
imports: from stellargraph.core.graph import *
  from stellargraph.mapper.graphwave_generator import GraphWaveGenerator, _empirical_characteristic_function
  from ..test_utils.graphs import barbell
  import numpy
  import pytest
  import scipy.sparse
  import tensorflow
label_desc: Use image node_id 6 for calling a global function with example usage: test_determinism(barbell) without return types