Expand description
This crate provides implementations of matrix multiplication for various architectures, for both floating point and int8 inputs.
Structs§
- Block
Quantized Gemm - Performs matrix-multiplication between an un-quantized LHS / “A” matrix and a block-quantized RHS / “B” matrix.
- Block
Quantized Matrix - Matrix which is quantized into blocks along the K dimension.
- ColOffsets
- Maps columns of an
Im2Colmatrix to locations in the source image. - Gemm
Executor - Executes matrix multiplication operations.
- Gemm
Options - Gemm
Uninit Options - Options for
GemmExecutor::gemm_uninitandGemmExecutor::batched_gemm_uninit. - Im2Col
- A matrix formed by unrolling patches of an image into columns.
- PackedA
Matrix - Left-hand or “A” GEMM input that has been pre-packed.
- PackedB
Matrix - Right-hand or “B” GEMM input that has been pre-packed.
- Quant
Params - Parameters required to perform matrix multiplication on quantized tensors.
- RowOffsets
- Maps rows of an
Im2Colmatrix to locations in the source image.
Enums§
- Bias
Vector - A bias to add to the output of a matrix multiplication.
- Block
Quantized Error - Errors with block-quantized inputs.
- Compute
Mode - Specifies whether to quantize the LHS / “A” input to block-quantized matrix multiplication.
- Gemm
Error - Errors with matrix multiplication inputs.
- Gemm
InputA - Left-hand or “A” input for a GEMM operation.
- Gemm
InputB - Right-hand or “B” input for a GEMM operation.