docstr: input name : "x/0" becomes "x_0" due to name sanitization applied during conversion
docstr_tok: ["input","name",":","``","x\/0","''","becomes","``","x_0","''","due","to","name","sanitization","applied","during","conversion"]
code: def test_unsanitized_input_name_during_prediction(convert_to):
      """
      input name : "x/0" becomes "x_0" due to name sanitization applied during conversion
      """
      prog = Program()
      func_inputs = {
          "x/0": mb.placeholder(shape=[2, 3]),
          "y": mb.placeholder(shape=[2, 3]),
      }
      with Function(func_inputs) as ssa_fun:
          x, y = ssa_fun.inputs["x/0"], ssa_fun.inputs["y"]
          x = mb.relu(x=x, name="relu")
          z = mb.add(x=x, y=y, name="out")
          ssa_fun.set_outputs([z])
      prog.add_function("main", ssa_fun)
  
      mlmodel = ct.convert(prog, convert_to=convert_to)
  
      with pytest.raises(KeyError) as error_info:
          mlmodel.predict(
              {
                  "x/0": np.random.rand(2, 3).astype(np.float32),
                  "y": np.random.rand(2, 3).astype(np.float32),
              }
          )
      error_str = str(error_info.value)
      assert "does not match any of the model input" in error_str
  
imports: import copy
  import os
  import tempfile
  import numpy
  import pytest
  import coremltools
  from coremltools._deps import _HAS_TORCH
  from coremltools.converters.mil import Builder
  from coremltools.converters.mil.mil import Function, Program, get_new_symbol
  from coremltools.converters.mil.testing_utils import get_op_types_in_program
label_desc: Use image node_id 1 for calling the TestInputs obj's underlying member method code with example usage: obj.test_unsanitized_input_name_during_prediction(convert_to) without return types