cdd171545a5f2d25e17a7375eb4b6cf1c376dd9e,onnxmltools/convert/common/_apply_operation.py,,apply_tile,#Any#Any#Any#Any#Any#Any#,275

Before Change


        container.add_node("Identity", intermediate_output_name, output_name, op_version=1, name=name)
    else:
        // ONNX-1.2 has a new Tile and we use it here
        container.add_node("Tile", input_name, output_name, op_version=7, name=name, repeats=repeats)


def apply_transpose(scope, input_name, output_name, container, operator_name=None, perm=None):
    name = _create_name_or_use_existing_one(scope, "Transpose", operator_name)

After Change


        // ONNX-1.2 has a new Tile and we use it here
        repeat_tensor_name = scope.get_unique_variable_name(name + "_repeats")
        container.add_initializer(repeat_tensor_name, onnx_proto.TensorProto.INT64, [len(repeats)], repeats)
        container.add_node("Tile", [input_name, repeat_tensor_name], output_name, op_version=7, name=name)


def apply_transpose(scope, input_name, output_name, container, operator_name=None, perm=None):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: onnx/onnxmltools
Commit Name: cdd171545a5f2d25e17a7375eb4b6cf1c376dd9e
Time: 2018-06-07
Author: wschin@outlook.com
File Name: onnxmltools/convert/common/_apply_operation.py
Class Name:
Method Name: apply_tile


Project Name: stellargraph/stellargraph
Commit Name: 55ed2c7f725791f31983560c4ad520b2e0dc8e58
Time: 2020-03-03
Author: Huon.Wilson@data61.csiro.au
File Name: tests/data/test_metapath_walker.py
Class Name:
Method Name: create_test_graph


Project Name: stellargraph/stellargraph
Commit Name: 55ed2c7f725791f31983560c4ad520b2e0dc8e58
Time: 2020-03-03
Author: Huon.Wilson@data61.csiro.au
File Name: tests/data/test_biased_random_walker.py
Class Name:
Method Name: create_test_weighted_graph