def dot

bendtorch-core@0.1.0.0 · src/tensor/matmul.bend:126

import bendtorch-core@0.1.0.0/src/tensor/matmul.bend as Matmul
import Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
import bendtorch-core@0.1.0.0/src/tensor/core.bend as Core

126def dot(fuel: Nat, +left: Shape.Shape, +right: Shape.Shape, a: Core.Tensor<left>, b: Core.Tensor<right>,
127  +row: U32, +column: U32, +inner_index: U32, accumulator: F32) ->
128  Result<&2, &1, Error, Core.Tensor<left> & Core.Tensor<right> & F32>:
129  natural_dot(fuel, left, right, a, b, row, column, U32.to_nat(inner_index), accumulator)

Uses (10)

Used by (0)

No other definition uses this definition.