OrtValueTensor class

Inheritance

Constructors

OrtValueTensor(Pointer<OrtValue> ptr, [Pointer<Void>? dataPtr])
OrtValueTensor.fromAddress(int address)
factory

Properties

address → int
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
ptr → Pointer<OrtValue>
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → dynamic
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
release() → void
override
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

createTensorWithData(dynamic data) → OrtValueTensor
createTensorWithDataList(List data, [List<int>? shape]) → OrtValueTensor