Function tract::tract_onnx_create
source ยท #[no_mangle]
pub unsafe extern "C" fn tract_onnx_create(
onnx: *mut *mut TractOnnx
) -> TRACT_RESULT
Expand description
Creates an instance of an ONNX framework and parser that can be used to load models.
The returned object should be destroyed with tract_nnef_destroy
once the model
has been loaded.