docstr: The `inputs` param is not provided for a dynamic input (shape has `None`).
docstr_tok: ["The","`","inputs","`","param","is","not","provided","for","a","dynamic","input","(","shape","has","`","None","`",")","."]
code: def test_input_dynamic_without_inputs_param(
      self, backend, compute_unit
  ):
      """The `inputs` param is not provided for a dynamic input (shape has `None`)."""
      with tf.Graph().as_default() as graph:
          x = tf.placeholder(
              tf.float32, shape=(None, None, 3), name="input"
          )
          x1 = tf.placeholder(
              tf.float32, shape=(1, 2, 3), name="input_1"
          )
          y = tf.nn.relu(x, name="output")
          y1 = tf.nn.relu(x1, name="output_1")
  
      convert_to = backend[0]
      if convert_to == "mlprogram":
          with pytest.warns(
              UserWarning,
              match="Some dimensions in the input shape are unknown, hence they are set to "
              "flexible ranges with lower bound and default value = 1, and upper bound = 2. "
              "To set different values for the default shape and upper bound, please use "
              "the ct.RangeDim.*",
          ):
              mlmodel = ct.convert(
                  graph,
                  convert_to=convert_to,
                  compute_units=compute_unit,
              )
      else:
          mlmodel = ct.convert(
              graph,
              convert_to=convert_to,
              compute_units=compute_unit,
          )
  
      spec = mlmodel.get_spec()
      assert list(
          spec.description.input[0].type.multiArrayType.shape
      ) == [1, 1, 3]
      assert (
          spec.description.input[0]
          .type.multiArrayType.shapeRange.sizeRanges[1]
          .lowerBound
          == 1
      )
      assert (
          spec.description.input[0]
          .type.multiArrayType.shapeRange.sizeRanges[1]
          .upperBound
          == -1
          if convert_to == "neuralnetwork"
          else 2
      )
  
imports: import itertools
  import os
  import tempfile
  import numpy
  import pytest
  import coremltools
  from coremltools._deps import _HAS_TF_1, _HAS_TF_2, MSG_TF1_NOT_FOUND
  from coremltools.converters.mil.testing_reqs import backends, compute_units
  from coremltools.converters.mil.testing_utils import assert_cast_ops_count, assert_input_dtype, assert_ops_in_mil_program, assert_output_dtype, assert_prog_input_type, assert_prog_output_type, assert_spec_input_image_type, assert_spec_output_image_type, get_op_types_in_program, verify_prediction
  from coremltools.proto import FeatureTypes_pb2
  from coremltools.test.api.test_api_examples import TestInputs
label_desc: Use image node_id 3 for calling the TestTf1Inputs obj's underlying member method code with example usage: obj.test_input_dynamic_without_inputs_param(backend, compute_unit) without return types