docstr: Test that model inference infers model output type.
docstr_tok: ["Test","that","model","inference","infers","model","output","type","."]
code: def test_mi_basic(self):
      """Test that model inference infers model output type."""
      model = """
              <
                  ir_version: 7,
                  opset_import: [ "" : 17]
              >
              agraph (float[N] x) => (y)
              {
                  y = Cast<to=6> (x)
              }
          """
      self._check(model, onnx.TensorProto.INT32)
  
file_path: onnx/onnx/test/model_inference_test.py
imports: import typing
  import unittest
  import onnx
  import onnx.parser
  import onnx.shape_inference
label_desc: Use image node_id 4 for calling the TestModelInference obj's underlying member method code with example usage: obj.test_mi_basic() without return types