![]() |
Belle II Software development
|
Public Member Functions | |
create_and_save (self, n_outputs, filename, weights) | |
test_singleclass (self) | |
test_multiclass (self) | |
test_multiclass_3 (self) | |
Tests for writing ONNX MVA weightfiles. In addition to testing the writing mechanism, these serve the purpose of creating test files for other unit tests.
Definition at line 36 of file test_write_onnx.py.
create_and_save | ( | self, | |
n_outputs, | |||
filename, | |||
weights ) |
Setup some example options for an ONNX MVA weightfile, save it and compare to reference
Definition at line 42 of file test_write_onnx.py.
test_multiclass | ( | self | ) |
Write example for multiclass outputs
Definition at line 107 of file test_write_onnx.py.
test_multiclass_3 | ( | self | ) |
Write example for 3-class outputs
Definition at line 125 of file test_write_onnx.py.
test_singleclass | ( | self | ) |
Write example for single output
Definition at line 91 of file test_write_onnx.py.