def ProductMeaning

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

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

77def ProductMeaning(-inner: U32, -left: Shape.Shape, -right: Shape.Shape, -a: Core.Tensor<left>, -b: Core.Tensor<right>,
78  -output: Shape.Shape, -end: Nat, result: Result<&2, &1, Matrix.Error, Core.Tensor<left> & Core.Tensor<right> & Core.Tensor<output>>) -> Data:
79  match result:
80    case Fail{error}:
81      Unit
82    case Done{pair}:
83      (ra, rb, out) = pair
84      ProductPrefix<inner, left, right, a, b, output, ra, rb, out, end>

Uses (10)

Used by (5)