Enum anira::v2::InferenceBackend#

enum anira::v2::InferenceBackend#

The 2.x backend enum under its 2.x names, each value the anira_engine value of its engine, in the 3.x order: ONNX is ANIRA_ENGINE_ONNXRUNTIME, EXECUTORCH, LITERT, LIBTORCH and TFLITE their engines’, CUSTOM is ANIRA_ENGINE_CUSTOM. Every enumerator exists in every build, whatever engines it carries. Source compatibility is in the names: the 2.x values shifted with the engines of the build, so code that stored a backend as an integer or indexed an array by it is not source-compatible. Unscoped, as in 2.x: TFLITE and InferenceBackend::TFLITE both spell.

Values:

enumerator ONNX#
enumerator EXECUTORCH#
enumerator LITERT#
enumerator LIBTORCH#
enumerator TFLITE#
enumerator CUSTOM#