code: def _assert_values_equal(nested_lhs, nested_rhs):
      """assertAllEqual applied to a list of nested elements."""
      for dict_lhs, dict_rhs in zip(nested_lhs, nested_rhs):
          flat_lhs = tf.nest.flatten(dict_lhs)
          flat_rhs = tf.nest.flatten(dict_rhs)
          for lhs, rhs in zip(flat_lhs, flat_rhs):
              np.testing.assert_array_equal(lhs, rhs)
  
imports: import pathlib
  from typing import Callable
  from unittest import mock
  import apache_beam
  from etils import epath
  import numpy
  import pytest
  import tensorflow
  from tensorflow_datasets.core import dataset_builder
  from tensorflow_datasets.core import dataset_info
  from tensorflow_datasets.core import dataset_utils
  from tensorflow_datasets.core import download
  from tensorflow_datasets.core import features
  from tensorflow_datasets.core import utils
label_desc: Use image node_id 7 for calling a global function with example usage: _assert_values_equal(nested_lhs, nested_rhs) without return types