def DotResultMeaning

bendtorch-core@0.1.0.0 · src/tensor/matmul_LAWS.bend:45

import bendtorch-core@0.1.0.0/src/tensor/matmul_LAWS.bend as MatmulLAWS
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
import bendtorch-core@0.1.0.0/src/tensor/matmul.bend as Matrix

45def DotResultMeaning(-fuel: Nat, -left: Shape.Shape, -right: Shape.Shape, -a: Core.Tensor<left>, -b: Core.Tensor<right>,
46  -row: U32, -column: U32, -cursor: Nat, -accumulator: F32,
47  result: Result<&2, &1, Matrix.Error, Core.Tensor<left> & Core.Tensor<right> & F32>) -> Data:
48  match result:
49    case Fail{error}:
50      Unit
51    case Done{pair}:
52      (ra, rb, value) = pair
53      DotMeaning<fuel, left, right, a, b, row, column, cursor, accumulator, ra, rb, value>

Uses (11)

Used by (5)