| Interface | Description |
|---|---|
| OnnxValue |
Top interface for input and output values from ONNX models.
|
| ValueInfo |
Interface for info objects describing an
OnnxValue. |
| Class | Description |
|---|---|
| MapInfo |
Describes an
OnnxMap object or output node. |
| NodeInfo |
The info for an input or output node from an ONNX model.
|
| OnnxMap |
A container for a map returned by
OrtSession.run(Map). |
| OnnxSequence |
A sequence of
OnnxValues all of the same type. |
| OnnxTensor |
A Java object wrapping an OnnxTensor.
|
| OrtEnvironment |
The host object for the onnx-runtime system.
|
| OrtSession |
Wraps an ONNX model and allows inference calls.
|
| OrtSession.Result | |
| OrtSession.SessionOptions |
Represents the options used to construct this session.
|
| OrtUtil |
Util code for interacting with Java arrays.
|
| SequenceInfo |
Describes an
OnnxSequence, including it's element type if known. |
| TensorInfo |
Describes an
OnnxTensor, including it's size, shape and element type. |
| Enum | Description |
|---|---|
| OnnxJavaType |
An enum representing onnxruntime supported Java primitive types (and String).
|
| OnnxMap.OnnxMapValueType |
An enum representing the Java type of the values stored in an
OnnxMap. |
| OnnxValue.OnnxValueType |
The type of the
OnnxValue, mirroring the id in the C API. |
| OrtEnvironment.LoggingLevel |
The logging level for messages from the environment and session.
|
| OrtException.OrtErrorCode |
Maps the OrtErrorCode struct in "onnxruntime_c_api.h" with an additional entry for Java side errors.
|
| OrtSession.SessionOptions.ExecutionMode |
The execution mode to use.
|
| OrtSession.SessionOptions.OptLevel |
The optimisation level to use.
|
| TensorInfo.OnnxTensorType |
The native element types supported by the ONNX runtime.
|
| Exception | Description |
|---|---|
| OrtException |
An exception which contains the error message and code produced by the native onnxruntime.
|
Provides access to the same execution backends as the C library. Non-representable types in Java (such as fp16) are converted into the nearest Java primitive type when accessed through this API.