OrtTensor class

Constructors

OrtTensor(OnnxRuntime _runtime)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createCpuMemoryInfo() Pointer<OrtMemoryInfo>
createFloat(List<int> shape, Float32List data) Pointer<OrtValue>
createInt64(List<int> shape, List<int> data) Pointer<OrtValue>
getDataFloat(Pointer<OrtValue> value, int elementCount) Float32List
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
release(Pointer<OrtValue> value) → void
releaseMemoryInfo(Pointer<OrtMemoryInfo> memInfo) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited