uint16_tmodel_id
Model ID to be used for the operation.
Definition at line 438 of file rte_mldev.h.
uint16_tnb_batches
Number of batches. Minimum value must be one. Input buffer must hold inference data for each batch as
contiguous.
Definition at line 440 of file rte_mldev.h.
uint32_treserved
Reserved for future use.
Definition at line 444 of file rte_mldev.h.
structrte_mempool*mempool
Pool from which operation is allocated.
Definition at line 446 of file rte_mldev.h.
structrte_ml_buff_seg**input
Array of buffer segments to hold the inference input data.
When the model supports IO layout RTE_ML_IO_LAYOUT_PACKED, size of the array is 1.
When the model supports IO layout RTE_ML_IO_LAYOUT_SPLIT, size of the array is
rte_ml_model_info::nb_inputs.
Seealso
struct rte_ml_dev_info::io_layout
Definition at line 448 of file rte_mldev.h.
structrte_ml_buff_seg**output
Array of buffer segments to hold the inference output data.
When the model supports IO layout RTE_ML_IO_LAYOUT_PACKED, size of the array is 1.
When the model supports IO layout RTE_ML_IO_LAYOUT_SPLIT, size of the array is
rte_ml_model_info::nb_outputs.
Seealso
struct rte_ml_dev_info::io_layout
Definition at line 459 of file rte_mldev.h.
uint64_tuser_u64
User data as uint64_t.
Definition at line 471 of file rte_mldev.h.
void*user_ptr
User data as void*.
Definition at line 473 of file rte_mldev.h.
enumrte_ml_op_statusstatus
Operation status.
Definition at line 476 of file rte_mldev.h.
uint64_timpl_opaque
Implementation specific opaque value. An implementation may use this field to hold implementation
specific value to share between dequeue and enqueue operation. The application should not modify this
field.
Definition at line 478 of file rte_mldev.h.