Modifier and Type | Method and Description |
---|---|
static TensorInfo |
TensorInfo.constructFromBuffer(java.nio.Buffer buffer,
long[] shape,
OnnxJavaType type)
Constructs a TensorInfo from the supplied byte buffer.
|
static TensorInfo |
TensorInfo.constructFromJavaArray(java.lang.Object obj)
Constructs a TensorInfo from the supplied multidimensional Java array,
used to allocate the appropriate amount of native memory.
|
TensorInfo |
OnnxTensor.getInfo() |