onnx-mlir

Logo

Representation and Reference Lowering of ONNX Models in MLIR Compiler Infrastructure

View the Project on GitHub onnx/onnx-mlir

How-Tos

Inference Using Python
Inference Using C/C++
Inference Using Java

References

ONNX Dialect
OMTensor C99 Runtime API
OMTensorList C99 Runtime API
OMTensor Java Runtime API
OMTensorList Java Runtime API
Generate ONNX Dialect
About Documentation

Development

Add an Operation
Testing Guidelines
Error Handling
Command-line Options
Instrumentation
Constant Propagation
Add an Accelerator

Tools

Tools

RunONNXModel.py
DocCheck

This project is maintained by onnx

Hosted on GitHub Pages — Theme by orderedlist

onnx-mlir: com.ibm.onnxmlir.OMTensorList Class Reference
onnx-mlir
com.ibm.onnxmlir.OMTensorList Class Reference

Public Member Functions

 OMTensorList (OMTensor[] omts)
 
OMTensor[] getOmtArray ()
 
OMTensor getOmtByIndex (int index)
 

Detailed Description

Class holding an array of OMTensor so that they can be passed into and out of the compiled model runtime entry point as inputs and outputs.

Constructor & Destructor Documentation

◆ OMTensorList()

com.ibm.onnxmlir.OMTensorList.OMTensorList ( OMTensor[]  omts)
inline

Constructor

Parameters
omtsOMTensor array

Member Function Documentation

◆ getOmtArray()

OMTensor [] com.ibm.onnxmlir.OMTensorList.getOmtArray ( )
inline

OMTensor array getter

Returns
OMTensor array

◆ getOmtByIndex()

OMTensor com.ibm.onnxmlir.OMTensorList.getOmtByIndex ( int  index)
inline

OMTensor getter

Parameters
indexindex of OMTensor to get
Returns
OMTensor at index specified

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