docstr: Tests that compare_batch_dimensions works for various inputs.
docstr_tok: ["Tests","that","compare_batch_dimensions","works","for","various","inputs","."]
code: def test_compare_batch_dimensions_raises_no_exceptions(
      self, tensor_shapes, last_axes, broadcast_compatible, initial_axes
  ):
      """Tests that compare_batch_dimensions works for various inputs."""
      if all(
          shape.is_static(tensor_shape)
          for tensor_shape in tensor_shapes
      ):
          tensors = [
              tf.ones(tensor_shape) for tensor_shape in tensor_shapes
          ]
      else:
          # Dynamic shapes are not supported in eager mode.
          if tf.executing_eagerly():
              return
          tensors = [
              tf.compat.v1.placeholder(
                  shape=tensor_shape, dtype=tf.float32
              )
              for tensor_shape in tensor_shapes
          ]
      self.assert_exception_is_not_raised(
          shape.compare_batch_dimensions,
          shapes=[],
          tensors=tensors,
          last_axes=last_axes,
          broadcast_compatible=broadcast_compatible,
          initial_axes=initial_axes,
      )
  
file_path: graphics/tensorflow_graphics/util/tests/shape_test.py
imports: from absl.testing import parameterized
  import tensorflow
  from tensorflow_graphics.util import shape
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 6 for calling the ShapeTest obj's underlying member method code with example usage: obj.test_compare_batch_dimensions_raises_no_exceptions(tensor_shapes, last_axes, broadcast_compatible, initial_axes) without return types