A quantized matrix in native memory that the C kernels multiply.
- Implemented types
- Implementers
Properties
- cols → int
-
no setterinherited
- format → String
-
q8orq4.no setterinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- qsBytes → Uint8List
-
The raw quantized values and scales, as written to the file.
no setterinherited
- rows → int
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scaleBytes → Uint8List
-
no setterinherited
Methods
-
apply(
Float32List xs, Float32List ys, int n, {bool? int8Inputs}) → void -
ys
t * rows + r= (W xst)rfor t < n, xs asn, cols.int8Inputsoverrides the process-wide setting (for tests). -
free(
) → void - Releases an owned allocation; mapped matrices must be closed via the cache.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
weightAt(
int r, int c) → double - The weight the kernel uses at (r, c), for tests.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited