4ac4dca40d8a123e90f2cf2d4a81d07d70a0b45d,onnx_tf/handlers/backend/scatter_nd.py,ScatterND,version_11,#Any#Any#,12

Before Change



  @classmethod
  def version_11(cls, node, **kwargs):
    return [cls.make_tensor_from_onnx_node(node, **kwargs)]

After Change


  def version_11(cls, node, **kwargs):
    data = kwargs["tensor_dict"][node.inputs[0]]
    indices = kwargs["tensor_dict"][node.inputs[1]]
    updates = kwargs["tensor_dict"][node.inputs[2]]

    result = cls.chk_idx_out_of_bounds(data, indices)
    msg = "ScatterND indices are out of bounds, please double check the indices and retry."
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 6

Instances


Project Name: onnx/onnx-tensorflow
Commit Name: 4ac4dca40d8a123e90f2cf2d4a81d07d70a0b45d
Time: 2020-01-10
Author: wtsang@us.ibm.com
File Name: onnx_tf/handlers/backend/scatter_nd.py
Class Name: ScatterND
Method Name: version_11


Project Name: onnx/onnx-tensorflow
Commit Name: 58ace0a10f2859a7bfbb9b56238ba47e4175f5ac
Time: 2020-10-09
Author: wtsang@us.ibm.com
File Name: onnx_tf/handlers/backend/max.py
Class Name: Max
Method Name: _common


Project Name: onnx/onnx-tensorflow
Commit Name: 4ac4dca40d8a123e90f2cf2d4a81d07d70a0b45d
Time: 2020-01-10
Author: wtsang@us.ibm.com
File Name: onnx_tf/handlers/backend/gather_nd.py
Class Name: GatherND
Method Name: version_11


Project Name: onnx/onnx-tensorflow
Commit Name: 58ace0a10f2859a7bfbb9b56238ba47e4175f5ac
Time: 2020-10-09
Author: wtsang@us.ibm.com
File Name: onnx_tf/handlers/backend/min.py
Class Name: Min
Method Name: _common