code: def test_mi_constant_in_function(self):
      model = """
              <
                  ir_version: 7,
                  opset_import: [ "" : 17, "local" : 1]
              >
              main (float x) => (y, z) {
                  y, z = local.expand(x)
              }
              <
                  opset_import: [ "" : 17 ],
                  domain: "local"
              >
              expand (x) => (y, z) {
                  shape1 = Constant<value = int64[2] {4,4}>()
                  shape2 = Constant<value = int64[3] {8,8,8}>()
                  z = Expand (x, shape2)
                  y = Expand (x, shape1)
              }
              """
      self._check_shape(model, [4, 4], [8, 8, 8])
  
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 12 for calling the TestModelInference obj's underlying member method code with example usage: obj.test_mi_constant_in_function() without return types