apply method
yst * rows + r = (W xst)r for t < n, xs as n, cols.
int8Inputs overrides the process-wide setting (for tests).
Implementation
@override
void apply(Float32List xs, Float32List ys, int n, {bool? int8Inputs}) {
final k = NativeKernels.instance;
if (xs.length < n * cols || ys.length < n * rows) {
throw ArgumentError('Q8 product: bad shapes for n=$n');
}
k._ensureScratch(n * cols);
_gemmQ8(
_qs,
_scales,
xs.address,
k._xq,
k._xsc,
ys.address,
rows,
cols,
n,
k.threads,
(int8Inputs ?? k.int8Inputs) ? 1 : 0,
);
}