code: def epoch_sample_equal(a, b):
      return all(np.array_equal(x, y) for x, y in zip(a[0], b[0]))
  
file_path: stellargraph/tests/mapper/test_knowledge_graph.py
imports: import pytest
  import pandas
  import numpy
  from stellargraph.mapper.knowledge_graph import KGTripleGenerator, KGTripleSequence
  from ..None import test_utils
  from ..test_utils.graphs import knowledge_graph
label_desc: Use image node_id 6 for calling a global function with example usage: epoch_sample_equal(a, b) and returns: all