src/tensor/dot_fold.bend checks
raw source on the hub · import bendtorch-core@0.1.0.0/src/tensor/dot_fold.bend as Dot_fold
1 import
import Base
Types
type Factors source · line 6 · raw
Data
The specification of one matrix-product cell: fold the factor pairs in list order, adding each product to the accumulator. It holds no law, so modules that state totals with it do not import the matmul proofs.
Factors@left:F32 -> @right:F32 -> Factors
Definitions
def dot_fold source · line 9 · raw
@values:List<&2, Factors> -> @accumulator:F32 -> F32