~/bend-docscommunity

src/tensor/contracts/dot.bend checks

raw source on the hub · import bendtorch-core@0.1.0.0/src/tensor/contracts/dot.bend as Dot

3 imports
import Base
import ../core.bend as Core
import ./fold.bend as Fold

Types

type Cell source · line 9 · raw

Data

Definitions

def multiply_add source · line 12 · raw

@operation:Unit -> @accumulator:F32 -> @left:F32 -> @right:F32 -> F32

def left_index source · line 15 · raw

@cell:Cell -> @k:Nat -> Nat

def right_index source · line 19 · raw

@cell:Cell -> @k:Nat -> Nat

def inner source · line 23 · raw

@cell:Cell -> Nat

def dot source · line 27 · raw

@+cell:Cell -> @left:0x1689e5deb278c16abd3bd45eac101ef3/src/tensor/core.Dynamic -> @right:0x1689e5deb278c16abd3bd45eac101ef3/src/tensor/core.Dynamic -> Pair(Pair(0x1689e5deb278c16abd3bd45eac101ef3/src/tensor/core.Dynamic, 0x1689e5deb278c16abd3bd45eac101ef3/src/tensor/core.Dynamic), Result<&2, &1, 0x1689e5deb278c16abd3bd45eac101ef3/src/tensor/core.Error, F32>)