Modifier and Type | Class and Description |
---|---|
class |
OnnxMap
A container for a map returned by
OrtSession.run(Map) . |
class |
OnnxSequence
A sequence of
OnnxValue s all of the same type. |
class |
OnnxTensor
A Java object wrapping an OnnxTensor.
|
Modifier and Type | Method and Description |
---|---|
OnnxValue |
OrtSession.Result.get(int index)
Gets the value from the container at the specified index.
|
Modifier and Type | Method and Description |
---|---|
java.util.Optional<OnnxValue> |
OrtSession.Result.get(java.lang.String key)
Gets the value from the container assuming it's not been closed.
|
java.util.Iterator<java.util.Map.Entry<java.lang.String,OnnxValue>> |
OrtSession.Result.iterator() |
Modifier and Type | Method and Description |
---|---|
static void |
OnnxValue.close(java.lang.Iterable<? extends OnnxValue> itr)
Calls close on each element of the iterable.
|
static void |
OnnxValue.close(java.util.Map<java.lang.String,? extends OnnxValue> map)
Calls close on each
OnnxValue in the map. |