1e7d1a33189236f0b81a9c21d2d25e91f2349b39,tests/svmlib/test_SVMConverters.py,TestSvmLibSVM,test_convert_svmr_linear,#TestSvmLibSVM#,150

Before Change



        libsvm_model = svmutil.svm_train(prob, param)

        node = convert(libsvm_model, "LibSvmSvmrLinear", [("input", FloatTensorType(shape=["None", "None"]))])
        self.assertTrue(node is not None)
        dump_data_and_model(X[:5].astype(numpy.float32), SkAPIReg(libsvm_model), node,
                            basename="LibSvmSvmrLinear-Dec3")

After Change



        libsvm_model = svmutil.svm_train(prob, param)

        node = convert(libsvm_model, "LibSvmSvmrLinear", [("input", FloatTensorType())])
        self.assertTrue(node is not None)
        dump_data_and_model(X[:5].astype(numpy.float32), SkAPIReg(libsvm_model), node,
                            basename="LibSvmSvmrLinear-Dec3")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: onnx/onnxmltools
Commit Name: 1e7d1a33189236f0b81a9c21d2d25e91f2349b39
Time: 2020-04-20
Author: xadupre@users.noreply.github.com
File Name: tests/svmlib/test_SVMConverters.py
Class Name: TestSvmLibSVM
Method Name: test_convert_svmr_linear


Project Name: onnx/onnxmltools
Commit Name: 1e7d1a33189236f0b81a9c21d2d25e91f2349b39
Time: 2020-04-20
Author: xadupre@users.noreply.github.com
File Name: tests/svmlib/test_SVMConverters.py
Class Name: TestSvmLibSVM
Method Name: test_convert_svmc_linear


Project Name: onnx/onnxmltools
Commit Name: 1e7d1a33189236f0b81a9c21d2d25e91f2349b39
Time: 2020-04-20
Author: xadupre@users.noreply.github.com
File Name: tests/svmlib/test_SVMConverters.py
Class Name: TestSvmLibSVM
Method Name: test_convert_svmc


Project Name: onnx/onnxmltools
Commit Name: 1e7d1a33189236f0b81a9c21d2d25e91f2349b39
Time: 2020-04-20
Author: xadupre@users.noreply.github.com
File Name: tests/svmlib/test_SVMConverters.py
Class Name: TestSvmLibSVM
Method Name: test_convert_svmr


Project Name: onnx/onnxmltools
Commit Name: 1e7d1a33189236f0b81a9c21d2d25e91f2349b39
Time: 2020-04-20
Author: xadupre@users.noreply.github.com
File Name: tests/svmlib/test_SVMConverters.py
Class Name: TestSvmLibSVM
Method Name: test_convert_nusvmr