code: def test_multiarray_input_rangedim(self, backend, compute_unit):
      input_shape_1 = ct.Shape(
          shape=(
              1,
              3,
              ct.RangeDim(8, 20, default=8),
              ct.RangeDim(10, 100, default=16),
          )
      )
      input_shape_2 = ct.Shape(
          shape=(
              1,
              3,
              ct.RangeDim(4, 16, default=16),
              ct.RangeDim(1, 10, default=4),
          )
      )
  
      with pytest.warns() as raised_warnings:
          model = ct.convert(
              self.model,
              source="tensorflow",
              inputs=[
                  ct.TensorType(shape=input_shape_1, name="input_1"),
                  ct.TensorType(shape=input_shape_2, name="input_2"),
              ],
              convert_to=backend[0],
              compute_units=compute_unit,
          )
          assert not self._find_unknown_dim_warning(raised_warnings)
  
      spec = model.get_spec()
      assert list(
          spec.description.input[0].type.multiArrayType.shape
      ) == [1, 3, 8, 16]
      assert (
          spec.description.input[0]
          .type.multiArrayType.shapeRange.sizeRanges[2]
          .lowerBound
          == 8
      )
      assert (
          spec.description.input[0]
          .type.multiArrayType.shapeRange.sizeRanges[2]
          .upperBound
          == 20
      )
      assert list(
          spec.description.input[1].type.multiArrayType.shape
      ) == [1, 3, 16, 4]
      assert (
          spec.description.input[1]
          .type.multiArrayType.shapeRange.sizeRanges[2]
          .lowerBound
          == 4
      )
      assert (
          spec.description.input[1]
          .type.multiArrayType.shapeRange.sizeRanges[2]
          .upperBound
          == 16
      )
  
imports: import itertools
  import os
  import tempfile
  import numpy
  import PIL.Image
  import pytest
  import coremltools
  from coremltools._deps import _HAS_TF_2, _HAS_TORCH, MSG_TF2_NOT_FOUND, MSG_TORCH_NOT_FOUND
  from coremltools.converters.mil import Builder
  from coremltools.converters.mil.testing_reqs import backends, compute_units
label_desc: Use image node_id 6 for calling the TestFlexibleInputShapesTF obj's underlying member method code with example usage: obj.test_multiarray_input_rangedim(backend, compute_unit) without return types