def ZeroMeaning

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

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

149def ZeroMeaning(-left: Shape.Shape, -right: Shape.Shape, -output: Shape.Shape, -end: Nat,
150  result: Result<&2, &1, Matrix.Error, Core.Tensor<left> & Core.Tensor<right> & Core.Tensor<output>>) -> Data:
151  match result:
152    case Fail{error}:
153      Unit
154    case Done{pair}:
155      (a, b, out) = pair
156      ZeroPrefix<left, right, output, out, end>

Uses (9)

Used by (1)