Oakfield API Documentation 1.0.0
Numerical core APIs
Loading...
Searching...
No Matches
SimNeuralModelConfig Struct Reference

Registration-time model metadata and backend configuration. More...

#include <neural_models.h>

Collaboration diagram for SimNeuralModelConfig:

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
 

Detailed Description

Registration-time model metadata and backend configuration.

Member Data Documentation

◆ backend_kind

SimNeuralBackendKind SimNeuralModelConfig::backend_kind

Backend route used by inference.

◆ callback_fn

SimNeuralInferenceFn SimNeuralModelConfig::callback_fn

Required for callback backend.

◆ callback_userdata

void* SimNeuralModelConfig::callback_userdata

User data passed to callback_fn.

◆ default_precision

SimNeuralPrecisionMode SimNeuralModelConfig::default_precision

Precision used when a request does not override it.

◆ deterministic

bool SimNeuralModelConfig::deterministic

Whether strict determinism requests are allowed.

◆ external_command

char SimNeuralModelConfig::external_command[SIM_NEURAL_MODEL_COMMAND_MAX+1U]

Process command.

◆ model_id

char SimNeuralModelConfig::model_id[SIM_NEURAL_MODEL_ID_MAX+1U]

Required stable model id.

◆ note

char SimNeuralModelConfig::note[SIM_NEURAL_MODEL_NOTE_MAX+1U]

Optional free-form note.

◆ supported_device_mask

uint32_t SimNeuralModelConfig::supported_device_mask

SIM_NEURAL_DEVICE_MASK_* bitset; zero means CPU.


The documentation for this struct was generated from the following file: