root
root copied to clipboard
[GSOC][TMVA][SOFIE] Cast ONNX Operator implemented with the corresponding unit tests
This Pull request: Adds the Cast ONNX Operator with the corresponding Unit tests to validate the written code.
Checklist:
- [ ] tested changes locally
- [ ] updated the docs (if necessary)
Can one of the admins verify this patch?
@phsft-bot build just on ROOT-ubuntu2204/default, ROOT-ubuntu2004/default, ROOT-ubuntu18.04/default with flags -Dtmva-sofie=On
Starting build on ROOT-ubuntu2204
/default
, ROOT-ubuntu2004
/default
, ROOT-ubuntu18.04
/default
with flags -Dtmva-sofie=On
How to customize builds
Build failed on ROOT-ubuntu18.04/default. Running on sft-ubuntu-1804-2.cern.ch:/build/workspace/root-pullrequests-build See console output.
Errors:
- [2022-07-22T21:45:48.852Z] FAILED: tmva/sofie/test/CMakeFiles/TestCustomModelsFromONNX.dir/TestCustomModelsFromONNX.cxx.o
- [2022-07-22T21:45:48.852Z] /mnt/build/workspace/root-pullrequests-build/build/tmva/sofie/test/Cast_FromONNX.hxx:18:1: error: ‘infer’ does not name a type; did you mean ‘index’?
- [2022-07-22T21:45:48.852Z] /mnt/build/workspace/root-pullrequests-build/root/tmva/sofie/test/TestCustomModelsFromONNX.cxx:340:34: error: ‘struct TMVA_SOFIE_Cast::Session’ has no member named ‘infer’
Build failed on ROOT-ubuntu2004/default. Running on root-ubuntu-2004-1.cern.ch:/home/sftnight/build/workspace/root-pullrequests-build See console output.
Errors:
- [2022-07-22T21:45:46.420Z] FAILED: tmva/sofie/test/CMakeFiles/SofieCompileModels_ROOT.util
Build failed on ROOT-ubuntu2204/default. Running on root-ubuntu-2204-1.cern.ch:/home/sftnight/build/workspace/root-pullrequests-build See console output.
Errors:
- [2022-07-22T21:45:41.510Z] /home/sftnight/build/workspace/root-pullrequests-build/build/tmva/sofie/test/Cast_FromONNX.hxx:18:1: error: ‘infer’ does not name a type
- [2022-07-22T21:45:41.510Z] /home/sftnight/build/workspace/root-pullrequests-build/root/tmva/sofie/test/TestCustomModelsFromONNX.cxx:340:34: error: ‘struct TMVA_SOFIE_Cast::Session’ has no member named ‘infer’
@phsft-bot build just on ROOT-ubuntu2204/default with flags -Dtmva-sofie=On
Starting build on ROOT-ubuntu2204
/default
How to customize builds
Build failed on ROOT-ubuntu2204/default. Running on root-ubuntu-2204-1.cern.ch:/home/sftnight/build/workspace/root-pullrequests-build See console output.
Failing tests:
- projectroot.roottest.root.io.uniquePointer.roottest_root_io_uniquePointer_simpleWriteRead
- projectroot.roottest.root.io.uniquePointer.roottest_root_io_uniquePointer_simpleRead
- projectroot.roottest.root.io.uniquePointer.roottest_root_io_uniquePointer_aclicDataMemberSelection
- projectroot.roottest.root.meta.ROOT-7462.roottest_root_meta_ROOT_7462_make
- projectroot.roottest.root.meta.MakeProject.roottest_root_meta_MakeProject_runaliceesd
@phsft-bot build just on ROOT-ubuntu2204/default, ROOT-ubuntu2004/default, ROOT-ubuntu18.04/default with flags -Dtmva-sofie=On
Starting build on ROOT-ubuntu2204
/default
, ROOT-ubuntu2004
/default
, ROOT-ubuntu18.04
/default
with flags -Dtmva-sofie=On
How to customize builds
Build failed on ROOT-ubuntu2204/default. Running on root-ubuntu-2204-1.cern.ch:/home/sftnight/build/workspace/root-pullrequests-build See console output.
Errors:
- [2022-08-01T16:00:45.356Z] /home/sftnight/build/workspace/root-pullrequests-build/build/tmva/sofie/test/Cast_FromONNX.hxx:18:1: error: ‘infer’ does not name a type
- [2022-08-01T16:00:45.356Z] /home/sftnight/build/workspace/root-pullrequests-build/root/tmva/sofie/test/TestCustomModelsFromONNX.cxx:340:34: error: ‘struct TMVA_SOFIE_Cast::Session’ has no member named ‘infer’
Build failed on ROOT-ubuntu18.04/default. Running on sft-ubuntu-1804-3.cern.ch:/build/workspace/root-pullrequests-build See console output.
Errors:
- [2022-08-01T16:01:57.184Z] FAILED: tmva/sofie/test/CMakeFiles/TestCustomModelsFromONNX.dir/TestCustomModelsFromONNX.cxx.o
- [2022-08-01T16:01:57.184Z] /mnt/build/workspace/root-pullrequests-build/build/tmva/sofie/test/Cast_FromONNX.hxx:18:1: error: ‘infer’ does not name a type; did you mean ‘index’?
- [2022-08-01T16:01:57.184Z] /mnt/build/workspace/root-pullrequests-build/root/tmva/sofie/test/TestCustomModelsFromONNX.cxx:340:34: error: ‘struct TMVA_SOFIE_Cast::Session’ has no member named ‘infer’
Build failed on ROOT-ubuntu2004/default. Running on root-ubuntu-2004-3.cern.ch:/home/sftnight/build/workspace/root-pullrequests-build See console output.
Errors:
- [2022-08-01T16:02:12.102Z] FAILED: tmva/sofie/test/CMakeFiles/TestCustomModelsFromONNX.dir/TestCustomModelsFromONNX.cxx.o
- [2022-08-01T16:02:12.668Z] tmva/sofie/test/Cast_FromONNX.hxx:18:1: error: ‘infer’ does not name a type
- [2022-08-01T16:02:12.668Z] /home/sftnight/build/workspace/root-pullrequests-build/root/tmva/sofie/test/TestCustomModelsFromONNX.cxx:340:34: error: ‘struct TMVA_SOFIE_Cast::Session’ has no member named ‘infer’
@phsft-bot build just on ROOT-ubuntu2204/default with flags -Dtmva-sofie=On
Starting build on ROOT-ubuntu2204
/default
How to customize builds
Build failed on ROOT-ubuntu2204/default. Running on root-ubuntu-2204-1.cern.ch:/home/sftnight/build/workspace/root-pullrequests-build See console output.
Warnings:
- [2022-08-04T19:19:46.227Z] /usr/include/python3.10/numpy/__multiarray_api.h:1464:1: warning: ‘int _import_array()’ defined but not used [-Wunused-function]
- [2022-08-04T19:19:47.363Z] /usr/include/python3.10/numpy/__multiarray_api.h:1464:1: warning: ‘int _import_array()’ defined but not used [-Wunused-function]
- [2022-08-04T19:19:51.687Z] /usr/include/python3.10/numpy/__multiarray_api.h:1464:1: warning: ‘int _import_array()’ defined but not used [-Wunused-function]
- [2022-08-04T19:19:53.750Z] /usr/include/python3.10/numpy/__multiarray_api.h:1464:1: warning: ‘int _import_array()’ defined but not used [-Wunused-function]
Failing tests:
- projectroot.roottest.root.collection.roottest_root_collection_runDeleteWarning
- projectroot.roottest.root.io.uniquePointer.roottest_root_io_uniquePointer_simpleWriteRead
- projectroot.roottest.root.io.uniquePointer.roottest_root_io_uniquePointer_simpleRead
- projectroot.roottest.root.io.uniquePointer.roottest_root_io_uniquePointer_aclicDataMemberSelection
- projectroot.roottest.root.meta.MakeProject.roottest_root_meta_MakeProject_runaliceesd
- projectroot.roottest.root.meta.ROOT-7462.roottest_root_meta_ROOT_7462_make
@phsft-bot build just on ROOT-ubuntu2204/default with flags -Dtmva-sofie=On
Starting build on ROOT-ubuntu2204
/default
with flags -Dtmva-sofie=On
How to customize builds
Build failed on ROOT-ubuntu2204/default. Running on root-ubuntu-2204-1.cern.ch:/home/sftnight/build/workspace/root-pullrequests-build See console output.
Warnings:
- [2022-08-12T16:09:56.332Z] /usr/include/python3.10/numpy/__multiarray_api.h:1464:1: warning: ‘int _import_array()’ defined but not used [-Wunused-function]
- [2022-08-12T16:10:01.497Z] /usr/include/python3.10/numpy/__multiarray_api.h:1464:1: warning: ‘int _import_array()’ defined but not used [-Wunused-function]
- [2022-08-12T16:10:08.038Z] /usr/include/python3.10/numpy/__multiarray_api.h:1464:1: warning: ‘int _import_array()’ defined but not used [-Wunused-function]
- [2022-08-12T16:10:19.407Z] /usr/include/python3.10/numpy/__multiarray_api.h:1464:1: warning: ‘int _import_array()’ defined but not used [-Wunused-function]
Failing tests:
- projectroot.roottest.root.io.uniquePointer.roottest_root_io_uniquePointer_simpleWriteRead
- projectroot.roottest.root.io.uniquePointer.roottest_root_io_uniquePointer_simpleRead
- projectroot.roottest.root.io.uniquePointer.roottest_root_io_uniquePointer_aclicDataMemberSelection
- projectroot.roottest.root.meta.ROOT-7462.roottest_root_meta_ROOT_7462_make
- projectroot.roottest.root.meta.MakeProject.roottest_root_meta_MakeProject_runaliceesd
@phsft-bot build just on ROOT-ubuntu2204/default with flags -Dtmva-sofie=On
Starting build on ROOT-ubuntu2204
/default
with flags -Dtmva-sofie=On
How to customize builds
Build failed on ROOT-ubuntu2204/default. Running on root-ubuntu-2204-1.cern.ch:/home/sftnight/build/workspace/root-pullrequests-build See console output.
Warnings:
- [2022-08-16T10:30:35.727Z] /usr/include/python3.10/numpy/__multiarray_api.h:1464:1: warning: ‘int _import_array()’ defined but not used [-Wunused-function]
- [2022-08-16T10:30:37.493Z] /usr/include/python3.10/numpy/__multiarray_api.h:1464:1: warning: ‘int _import_array()’ defined but not used [-Wunused-function]
- [2022-08-16T10:30:41.320Z] /usr/include/python3.10/numpy/__multiarray_api.h:1464:1: warning: ‘int _import_array()’ defined but not used [-Wunused-function]
- [2022-08-16T10:30:44.739Z] /usr/include/python3.10/numpy/__multiarray_api.h:1464:1: warning: ‘int _import_array()’ defined but not used [-Wunused-function]
Failing tests:
- projectroot.roottest.root.dataframe.roottest_root_dataframe_test_snapshot_copyaddresses
- projectroot.roottest.root.io.uniquePointer.roottest_root_io_uniquePointer_simpleWriteRead
- projectroot.roottest.root.io.uniquePointer.roottest_root_io_uniquePointer_simpleRead
- projectroot.roottest.root.io.uniquePointer.roottest_root_io_uniquePointer_aclicDataMemberSelection
- projectroot.roottest.root.meta.MakeProject.roottest_root_meta_MakeProject_runaliceesd
- projectroot.roottest.root.meta.ROOT-7462.roottest_root_meta_ROOT_7462_make