API Reference Manual
1.46.0
|
Parameters for model run. More...
#include <ml_types.h>
Data Fields | |
uint32_t | batch_size |
Batch size. More... | |
odp_ml_run_result_t * | result |
Model run results. More... | |
Parameters for model run.
Use odp_ml_run_param_init() to initialize the structure to its default values.
Definition at line 835 of file api/spec/ml_types.h.
uint32_t odp_ml_run_param_t::batch_size |
Batch size.
Batch size for all model inputs and outputs that have ODP_ML_SHAPE_BATCH shape type. The default value is 0.
Definition at line 842 of file api/spec/ml_types.h.
odp_ml_run_result_t* odp_ml_run_param_t::result |
Model run results.
Points to a result structure for model run result output. Results are output only in synchronous mode (ODP_ML_COMPL_MODE_SYNC). The pointer value is ignored in asynchronous modes. Use NULL when results are not required. The default value is NULL.
Definition at line 851 of file api/spec/ml_types.h.