dd19f88250a64c060bd43fde6e17cf01d1557a9a,onnx_coreml/_operators.py,,_convert_softmax,#Any#Any#Any#Any#,443

Before Change


def _convert_softmax(builder, node, graph, err):  // type: (NeuralNetworkBuilder, Node, Graph, ErrorHandling) -> None
    axis = node.attrs.get("axis", 1)
    if axis != 1:
        err.unsupported_op_configuration(builder, node, "Unsupported axis {} for softmax".format(axis,))

    builder.add_softmax(
        name=node.name,
        input_name=node.inputs[0],

After Change


def _convert_softmax(builder, node, graph, err):  // type: (NeuralNetworkBuilder, Node, Graph, ErrorHandling) -> None
    axis = node.attrs.get("axis", 1)
    if axis != 1:
        return err.unsupported_op_configuration(builder, node, "Unsupported axis {} for softmax".format(axis,))

    builder.add_softmax(
        name=node.name,
        input_name=node.inputs[0],
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 12

Non-data size: 3

Instances


Project Name: onnx/onnx-coreml
Commit Name: dd19f88250a64c060bd43fde6e17cf01d1557a9a
Time: 2018-04-20
Author: aseem.elec@gmail.com
File Name: onnx_coreml/_operators.py
Class Name:
Method Name: _convert_softmax


Project Name: onnx/onnx-coreml
Commit Name: dd19f88250a64c060bd43fde6e17cf01d1557a9a
Time: 2018-04-20
Author: aseem.elec@gmail.com
File Name: onnx_coreml/_operators.py
Class Name:
Method Name: _convert_bn


Project Name: onnx/onnx-coreml
Commit Name: dd19f88250a64c060bd43fde6e17cf01d1557a9a
Time: 2018-04-20
Author: aseem.elec@gmail.com
File Name: onnx_coreml/_operators.py
Class Name:
Method Name: _convert_logsoftmax


Project Name: onnx/onnx-coreml
Commit Name: dd19f88250a64c060bd43fde6e17cf01d1557a9a
Time: 2018-04-20
Author: aseem.elec@gmail.com
File Name: onnx_coreml/_operators.py
Class Name:
Method Name: _convert_mul


Project Name: onnx/onnx-coreml
Commit Name: dd19f88250a64c060bd43fde6e17cf01d1557a9a
Time: 2018-04-20
Author: aseem.elec@gmail.com
File Name: onnx_coreml/_operators.py
Class Name:
Method Name: _convert_reshape


Project Name: onnx/onnx-coreml
Commit Name: dd19f88250a64c060bd43fde6e17cf01d1557a9a
Time: 2018-04-20
Author: aseem.elec@gmail.com
File Name: onnx_coreml/_operators.py
Class Name:
Method Name: _convert_add


Project Name: onnx/onnx-coreml
Commit Name: dd19f88250a64c060bd43fde6e17cf01d1557a9a
Time: 2018-04-20
Author: aseem.elec@gmail.com
File Name: onnx_coreml/_operators.py
Class Name:
Method Name: _convert_slice


Project Name: onnx/onnx-coreml
Commit Name: dd19f88250a64c060bd43fde6e17cf01d1557a9a
Time: 2018-04-20
Author: aseem.elec@gmail.com
File Name: onnx_coreml/_operators.py
Class Name:
Method Name: _convert_pool


Project Name: onnx/onnx-coreml
Commit Name: dd19f88250a64c060bd43fde6e17cf01d1557a9a
Time: 2018-04-20
Author: aseem.elec@gmail.com
File Name: onnx_coreml/_operators.py
Class Name:
Method Name: _convert_div


Project Name: onnx/onnx-coreml
Commit Name: dd19f88250a64c060bd43fde6e17cf01d1557a9a
Time: 2018-04-20
Author: aseem.elec@gmail.com
File Name: onnx_coreml/_operators.py
Class Name:
Method Name: _convert_transpose


Project Name: onnx/onnx-coreml
Commit Name: dd19f88250a64c060bd43fde6e17cf01d1557a9a
Time: 2018-04-20
Author: aseem.elec@gmail.com
File Name: onnx_coreml/_operators.py
Class Name:
Method Name: _convert_pad


Project Name: onnx/onnx-coreml
Commit Name: dd19f88250a64c060bd43fde6e17cf01d1557a9a
Time: 2018-04-20
Author: aseem.elec@gmail.com
File Name: onnx_coreml/_operators.py
Class Name:
Method Name: _convert_gemm