16 #ifndef ONNX_MLIR_OMTENSORLIST_H
17 #define ONNX_MLIR_OMTENSORLIST_H
19 #include "onnx-mlir/Runtime/OMTensor.h"
45 OMTensor **tensors, int64_t n);
OM_EXTERNAL_VISIBILITY void omTensorListDestroy(OMTensorList *list)
OMTensorList destroyer.
OM_EXTERNAL_VISIBILITY OMTensor * omTensorListGetOmtByIndex(const OMTensorList *list, int64_t index)
OMTensorList OMTensor getter by index.
struct OMTensorList OMTensorList
Definition: OMTensorList.h:24
OM_EXTERNAL_VISIBILITY OMTensor ** omTensorListGetOmtArray(const OMTensorList *list)
OMTensorList OMTensor array getter.
OM_EXTERNAL_VISIBILITY OMTensorList * omTensorListCreate(OMTensor **tensors, int64_t n)
OMTensorList creator.
OM_EXTERNAL_VISIBILITY int64_t omTensorListGetSize(const OMTensorList *list)
OMTensorList size getter.
OM_EXTERNAL_VISIBILITY void omTensorListDestroyShallow(OMTensorList *list)
OMTensorList shallow destroyer which does not destroy the tensors.