QuantizedMatrix class final
Constructors
- QuantizedMatrix.quantize(Float32List w, int rows, int cols, WeightFormat format)
-
Symmetric per-block quantization of a row-major
rows, colsmatrix.factory
Properties
- blocksPerRow → int
-
final
- bytes → int
-
no setter
- cols → int
-
final
- format → WeightFormat
-
final
- groupsPerRow → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- paddedCols → int
-
final
- rows → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
gemm(
Float32List xs, Float32List ys, int n) → void -
ys
t= W xstfor t < n, xs asn, colsand ys asn, rows. -
gemv(
Float32List x, Float32List y) → void -
y
0:rows= W x. -
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 kernels use at (r, c); for tests.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited