| 12345678910111213 |
- //go:build !cuda
- // Package matmul provides matrix multiplication operations
- package matmul
- import (
- "makarna/pkg/backend/cpu"
- )
- // Linear dispatches to the CPU implementation when CUDA is disabled.
- func Linear(input, weight, output *cpu.Tensor) error {
- return linearCPU(input, weight, output)
- }
|