Modules§
Macros§
- create_
intermediate_ output_ dir_ for - Creates a directory for intermediate outputs, only if the verbosity level is set to Intermediate or above.
- named_
array_ to_ file - Logs an ndarray to a file in the npy format, only if the verbosity level is set to Intermediate or above.
- print_
at_ level - This macro prints a message if the verbosity level is high enough
Structs§
Enums§
- Execution
Mode - Execution mode
- Graph
Format - Graph format
- Verbosity
Functions§
- free_
onnx_ ⚠model - Frees a model
- get_
opset_ ⚠version - Returns the opset version of a model
- last_
error ⚠ - Returns a pointer to a C string containing the last error
- read_
onnx_ ⚠model - Reads an ONNX model from a file
- run_
model ⚠ - Runs a model given a path to a model directory, verbosity level (0-4), graph format (json / dot), and execution mode (failfast / continue)