code: def _check_tensor_axis_lists(tensors, tensors_name, axes, axes_name):
      """Helper function to check that lengths of `tensors` and `axes` match."""
      _check_type(axes, axes_name, (list, tuple))
      if len(tensors) != len(axes):
          raise ValueError(
              "{} and {} must have the same length, but are {} and {}.".format(
                  tensors_name, axes_name, len(tensors), len(axes)
              )
          )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import itertools
  from typing import Any, List, Optional, Tuple, Union
  import numpy
  import six
  from six.moves import range
  from six.moves import zip
  import tensorflow
label_desc: Use image node_id 9 for calling a global function with example usage: _check_tensor_axis_lists(tensors, tensors_name, axes, axes_name) without return types