MultiArrayMessage class

An MLMultiArray, transferred by value as raw storage bytes.

Inheritance

Constructors

MultiArrayMessage({required MultiArrayDataTypeMessage dataType, required List<int> shape, required List<int> strides, required Uint8List data})

Properties

data ↔ Uint8List
The raw backing storage.
getter/setter pair
dataType ↔ MultiArrayDataTypeMessage
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shape ↔ List<int>
getter/setter pair
strides ↔ List<int>
Element strides, same length as shape. Empty means row-major contiguous.
getter/setter pair

Methods

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

Operators

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

Static Methods

decode(Object result) → MultiArrayMessage