code: def _assert_sructures_equal(self, struct1, struct2):
      tf.nest.assert_same_structure(struct1, struct2)
      for a, b in zip(
          tf.nest.flatten(struct1), tf.nest.flatten(struct2)
      ):
          np.testing.assert_array_equal(a, b)
  
file_path: magenta/magenta/common/state_util_test.py
imports: from magenta.common import state_util
  import numpy
  import tensorflow.compat.v1
label_desc: Use image node_id 2 for calling the StateUtilTest obj's underlying member method code with example usage: obj._assert_sructures_equal(struct1, struct2) without return types