c2c14e608a7abb0ea3e742814564e0504d040fcf,onnxmltools/convert/common/_apply_operation.py,,_apply_basic_numerical_operation,#Any#Any#Any#Any#Any#Any#Any#Any#,34
Before Change
name = _create_name_or_use_existing_one(scope, op_type, operator_name)
attrs = {}
if container.targeted_onnx_version < StrictVersion("1.2") :
// Before ONNX-1.2, broadcasting behavior is Caffe2-like.
if axis is not None:
attrs["axis"] = axis
if broadcast is not None:
attrs["broadcast"] = broadcast
if container.targeted_onnx_version <= StrictVersion("1.0") :
attrs["consumed_inputs"] = [0, 0]
op_version = 1
else:
After Change
name = _create_name_or_use_existing_one(scope, op_type, operator_name)
attrs = {}
if compare_strict_version(container.targeted_onnx_version, "1.2") < 0:
// Before ONNX-1.2, broadcasting behavior is Caffe2-like.
if axis is not None:
attrs["axis"] = axis
if broadcast is not None:
attrs["broadcast"] = broadcast
if compare_strict_version(container.targeted_onnx_version, "1.0") < 0:
attrs["consumed_inputs"] = [0, 0]
op_version = 1
else:
In pattern: SUPERPATTERN
Frequency: 6
Non-data size: 4
Instances Project Name: onnx/onnxmltools
Commit Name: c2c14e608a7abb0ea3e742814564e0504d040fcf
Time: 2018-10-17
Author: xadupre@users.noreply.github.com
File Name: onnxmltools/convert/common/_apply_operation.py
Class Name:
Method Name: _apply_basic_numerical_operation
Project Name: onnx/onnxmltools
Commit Name: c2c14e608a7abb0ea3e742814564e0504d040fcf
Time: 2018-10-17
Author: xadupre@users.noreply.github.com
File Name: onnxmltools/convert/coreml/operator_converters/neural_network/GRU.py
Class Name:
Method Name: convert_gru
Project Name: onnx/onnxmltools
Commit Name: c2c14e608a7abb0ea3e742814564e0504d040fcf
Time: 2018-10-17
Author: xadupre@users.noreply.github.com
File Name: onnxmltools/convert/common/_apply_operation.py
Class Name:
Method Name: apply_prelu
Project Name: onnx/onnxmltools
Commit Name: c2c14e608a7abb0ea3e742814564e0504d040fcf
Time: 2018-10-17
Author: xadupre@users.noreply.github.com
File Name: onnxmltools/convert/common/_apply_operation.py
Class Name:
Method Name: apply_batch_norm
Project Name: onnx/onnxmltools
Commit Name: c2c14e608a7abb0ea3e742814564e0504d040fcf
Time: 2018-10-17
Author: xadupre@users.noreply.github.com
File Name: onnxmltools/convert/keras/operator_converters/GRU.py
Class Name:
Method Name: convert_keras_gru
Project Name: onnx/onnxmltools
Commit Name: c2c14e608a7abb0ea3e742814564e0504d040fcf
Time: 2018-10-17
Author: xadupre@users.noreply.github.com
File Name: onnxmltools/convert/coreml/operator_converters/neural_network/InnerProduct.py
Class Name:
Method Name: convert_inner_product