code: def test_mil_default_value_runtime(self):
      program_input_spec = [
          ct.TensorType(
              name="x",
              shape=[1],
              default_value=np.array([1.0]).astype(np.float32),
          ),
          ct.TensorType(name="y", shape=[1]),
      ]
      mlmodel = ct.convert(
          self.basic_network,
          convert_to="mlprogram",
          inputs=program_input_spec,
      )
  
      if _macos_version() < (12, 0):
          # Can only get predictions for ml program on macOS 12+
          return
  
      res = mlmodel.predict(
          {"x": np.array([3.0]), "y": np.array([2.0])}
      )
      assert res["output"][0] == 5.0
  
      res = mlmodel.predict({"y": np.array([2.0])})
      assert res["output"][0] == 3.0
  
file_path: coremltools/coremltools/converters/mil/backend/mil/test_model_input_params.py
imports: import numpy
  import coremltools
  from coremltools.converters.mil.mil.builder import Builder
  from coremltools.converters.mil.mil.program import Symbol
  from coremltools.models.utils import _macos_version
label_desc: Use image node_id 3 for calling the TestMILDefaultValues obj's underlying member method code with example usage: obj.test_mil_default_value_runtime() without return types