Tensor class
- Available extensions
Constructors
-
Tensor.new(Pointer<
TfLiteTensor> ref)
Properties
- byteSize → int
-
no setter
- data ↔ Uint8List
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
no setter
- numDims → int
-
no setter
- quantizationParams → QuantizationParams
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
shape
→ List<
int> -
no setter
- type → int
-
no setter
Methods
-
copyFrom(
Object src) → void -
Available on Tensor, provided by the TensorCopyFrom extension
-
copyFromBuffer(
Uint8List buffer) → void -
copyTo(
Object dst) → void -
Available on Tensor, provided by the TensorCopyTo extension
-
copyToBuffer(
) → Uint8List -
getInputShapeIfDifferent(
Object? input) → List< int> ? -
Available on Tensor, provided by the TensorShape extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited