API Reference Manual  1.45.0
odp_ml_run_param_t Struct Reference

Parameters for model run. More...

#include <ml_types.h>

Collaboration diagram for odp_ml_run_param_t:
[legend]

Data Fields

uint32_t batch_size
 Batch size. More...
 
odp_ml_run_result_tresult
 Model run results. More...
 

Detailed Description

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.

Field Documentation

◆ batch_size

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.

◆ result

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.


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