52fbf7b4ac45472fd1d0ae8e5ea169efb8552f8b,test/backend/test_dynamic_shape.py,TestDynamicShape,test_conv_transpose,#TestDynamicShape#,170

Before Change


        ])

    tf_rep = onnx_graph_to_tensorflow_rep(graph_def)
    output = tf_rep.run({"X": x, "weights": weights})

    padh_left = weight_shape[2] - 1 - pads[0]
    padh_right = weight_shape[2] - 1 - pads[1]
    padw_left = weight_shape[3] - 1 - pads[2]

After Change



    tf_rep = onnx_graph_to_tensorflow_rep(graph_def)
    // export to tf.saved_model
    model_path = "test_dynamic_shape/conv_transpose"
    tf_rep.export_graph(model_path)
    // load the saved_model back
    tf_model = tf.saved_model.load(model_path)
    // run the model
    tf_model_output = tf_model(X=x, weights=weights)

    padh_left = weight_shape[2] - 1 - pads[0]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 8

Instances


Project Name: onnx/onnx-tensorflow
Commit Name: 52fbf7b4ac45472fd1d0ae8e5ea169efb8552f8b
Time: 2020-11-03
Author: wtsang@us.ibm.com
File Name: test/backend/test_dynamic_shape.py
Class Name: TestDynamicShape
Method Name: test_conv_transpose


Project Name: onnx/onnx-tensorflow
Commit Name: 52fbf7b4ac45472fd1d0ae8e5ea169efb8552f8b
Time: 2020-11-03
Author: wtsang@us.ibm.com
File Name: test/backend/test_dynamic_shape.py
Class Name: TestDynamicShape
Method Name: test_compress


Project Name: onnx/onnx-tensorflow
Commit Name: 52fbf7b4ac45472fd1d0ae8e5ea169efb8552f8b
Time: 2020-11-03
Author: wtsang@us.ibm.com
File Name: test/backend/test_dynamic_shape.py
Class Name: TestDynamicShape
Method Name: test_scatter_nd


Project Name: onnx/onnx-tensorflow
Commit Name: 52fbf7b4ac45472fd1d0ae8e5ea169efb8552f8b
Time: 2020-11-03
Author: wtsang@us.ibm.com
File Name: test/backend/test_dynamic_shape.py
Class Name: TestDynamicShape
Method Name: test_gather_nd


Project Name: onnx/onnx-tensorflow
Commit Name: 52fbf7b4ac45472fd1d0ae8e5ea169efb8552f8b
Time: 2020-11-03
Author: wtsang@us.ibm.com
File Name: test/backend/test_dynamic_shape.py
Class Name: TestDynamicShape
Method Name: test_conv_transpose