code: def test_inference_with_attribute(self) -> None:
      model_script = """
          <
              ir_version: 8,
              opset_import: ["" : 18, "custom" : 1],
              producer_name: "",
              producer_version: "1.0"
          >
          MeanVarianceNormalization (float[N] x) => (float[M] y)
          {
              y = custom.custom_mvn <axes = [0]> (x)
          }
          <
              domain: "custom",
              opset_import: ["" : 18]
          >
          custom_mvn <axes>(X) => (Y)
          {
            Exponent = Constant <value = float {2.0}>()
            Epsilon = Constant <value = float {1e-9}>()
            axes = Constant <value_ints: ints = @axes>()
            X_RM = ReduceMean (X, axes)
            EX_squared = Pow (X_RM, Exponent)
            X_squared = Pow (X, Exponent)
            E_Xsquared = ReduceMean (X_squared, axes)
            Variance = Sub (E_Xsquared, EX_squared)
            STD = Sqrt (Variance)
            X_variance = Sub (X, X_RM)
            Processed_STD = Add (STD, Epsilon)
            Y = Div (X_variance, Processed_STD)
          }
          """
      model = onnx.parser.parse_model(model_script)
      # onnx.shape_inference.infer_shapes(model, strict_mode=False)
      onnx.shape_inference.infer_shapes(model, strict_mode=True)
  
file_path: onnx/onnx/test/inference_function_test.py
imports: import unittest
  from typing import Dict, List, Optional, Tuple, Union
  import numpy
  import onnx
  from onnx import TensorProto, TypeProto
  from onnx.checker import ValidationError
  from onnx.defs import OpSchema, get_all_schemas_with_history, get_schema
  from onnx.helper import make_graph, make_node, make_opsetid, make_tensor_type_proto, make_tensor_value_info
  from onnx.numpy_helper import from_array
  from onnx.shape_inference import InferenceError, infer_node_outputs
label_desc: Use image node_id 6 for calling the TestInferenceFunctionCall obj's underlying member method code with example usage: obj.test_inference_with_attribute() without return types