|
Oakfield API Documentation 1.0.0
Numerical core APIs
|
Registration-time model metadata and backend configuration. More...
#include <neural_models.h>

Public Attributes | |
| char | model_id [SIM_NEURAL_MODEL_ID_MAX+1U] |
| SimNeuralBackendKind | backend_kind |
| uint32_t | supported_device_mask |
| SimNeuralPrecisionMode | default_precision |
| bool | deterministic |
| char | external_command [SIM_NEURAL_MODEL_COMMAND_MAX+1U] |
| char | note [SIM_NEURAL_MODEL_NOTE_MAX+1U] |
| SimNeuralInferenceFn | callback_fn |
| void * | callback_userdata |
Registration-time model metadata and backend configuration.
| SimNeuralBackendKind SimNeuralModelConfig::backend_kind |
Backend route used by inference.
| SimNeuralInferenceFn SimNeuralModelConfig::callback_fn |
Required for callback backend.
| void* SimNeuralModelConfig::callback_userdata |
User data passed to callback_fn.
| SimNeuralPrecisionMode SimNeuralModelConfig::default_precision |
Precision used when a request does not override it.
| bool SimNeuralModelConfig::deterministic |
Whether strict determinism requests are allowed.
| char SimNeuralModelConfig::external_command[SIM_NEURAL_MODEL_COMMAND_MAX+1U] |
Process command.
| char SimNeuralModelConfig::model_id[SIM_NEURAL_MODEL_ID_MAX+1U] |
Required stable model id.
| char SimNeuralModelConfig::note[SIM_NEURAL_MODEL_NOTE_MAX+1U] |
Optional free-form note.
| uint32_t SimNeuralModelConfig::supported_device_mask |
SIM_NEURAL_DEVICE_MASK_* bitset; zero means CPU.