docstr: Test use of default values of function attributes.
docstr_tok: ["Test","use","of","default","values","of","function","attributes","."]
code: def test_mi_function_default_attr(self):
      """Test use of default values of function attributes."""
      model = """
              <ir_version: 7, opset_import: [ "" : 17, "local" : 1]>
              agraph (float[N] x) => (y, z)
              {
                  y = local.cast <target=6> (x) # casts to INT32 type (encoding value 6)
                  z = local.cast (x)  # uses default-attribute value of 1 (FLOAT type)
              }
  
              <opset_import: [ "" : 17 ], domain: "local">
              cast <target: int = 1> (x) => (y)
              {
                  y = Cast <to:int = @target> (x)
              }
          """
      self._check(model, onnx.TensorProto.INT32, onnx.TensorProto.FLOAT)
  
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 13 for calling the TestModelInference obj's underlying member method code with example usage: obj.test_mi_function_default_attr() without return types