docstr: Test value-propagation handles multiple calls to same function correctly.
  Underlying core example is same as previous test_model_data_propagation.
docstr_tok: ["Test","value-propagation","handles","multiple","calls","to","same","function","correctly",".","Underlying","core","example","is","same","as","previous","test_model_data_propagation","."]
code: def test_multiple_calls_to_function(self) -> None:
      """Test value-propagation handles multiple calls to same function correctly.
      Underlying core example is same as previous test_model_data_propagation.
      """
      model = onnx.parser.parse_model(
          """
              <ir_version: 7, opset_import: [ "" : 18, "local" : 1 ]>
              agraph (float[4, 1, 16] x, float[1, 8, 16] y) => () {
                  yshape = local.GetShape (y)
                  xshape = local.GetShape (x)
                  z = Expand (y, xshape)
                  w = Expand (y, yshape)
              }
              <domain: "local", opset_import: [ "" : 18 ]>
              GetShape (x) => (shapeval) {
                  shapeval = Shape(x)
              }
          """
      )
      self._assert_inferred(
          model,
          [
              make_tensor_value_info("yshape", TensorProto.INT64, (3,)),
              make_tensor_value_info("xshape", TensorProto.INT64, (3,)),
              make_tensor_value_info(
                  "z", TensorProto.FLOAT, (4, 8, 16)
              ),
              make_tensor_value_info(
                  "w", TensorProto.FLOAT, (1, 8, 16)
              ),
          ],
          data_prop=True,
      )
  
file_path: onnx/onnx/test/data_propagation_test.py
imports: from __future__ import annotations
  import unittest
  from shape_inference_test import TestShapeInferenceHelper
  import onnx.parser
  from onnx import TensorProto
  from onnx.helper import make_node, make_tensor, make_tensor_value_info
label_desc: Use image node_id 5 for calling the TestDataPropagation obj's underlying member method code with example usage: obj.test_multiple_calls_to_function() without return types