75231a39c212fc8066f99633698b7e59b2ce4efb,onnx_chainer/onnx_helper.py,,is_support_non_standard_domain,#,134

Before Change


def is_support_non_standard_domain():
    // from ONNX 1.5, skip schema check on ops in non-standard domain
    // see: https://github.com/onnx/onnx/pull/1876
    return version.parse(onnx.__version__) >= version.parse("1.5")

After Change


            "ONNX-Chainer cannot get major and minor version ONNX module: "
            "{}".format(onnx.__version__))
    major, minor = versions[0], versions[1]
    return major == "1" and int(minor) >= 5
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: chainer/chainer
Commit Name: 75231a39c212fc8066f99633698b7e59b2ce4efb
Time: 2019-10-13
Author: duaipp@gmail.com
File Name: onnx_chainer/onnx_helper.py
Class Name:
Method Name: is_support_non_standard_domain


Project Name: openml/openml-python
Commit Name: 3a90409d4aed8c9038fd8a4f592539dac303e5c2
Time: 2017-01-26
Author: feurerm@informatik.uni-freiburg.de
File Name: openml/flows/flow.py
Class Name: OpenMLFlow
Method Name: _ensure_flow_exists


Project Name: openml/openml-python
Commit Name: 3e9a80fce1aeaacfa5816109b523fb103a42c895
Time: 2016-09-29
Author: janvanrijn@gmail.com
File Name: openml/flows/flow.py
Class Name: OpenMLFlow
Method Name: _ensure_flow_exists