def multiply_status
import bendtorch-core@0.1.0.0/src/tensor/matmul_PROOF.bend as MatmulPROOFimport 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
import bendtorch-core@0.1.0.0/src/tensor/math_totality.bend as Totality
import bendtorch-core@0.1.0.0/src/tensor/allocation_PROOF.bend as AllocationProof
1006def multiply_status(+left: Shape.Shape, +right: Shape.Shape, +plan: Matrix.Plan<left, right>, a: Core.Tensor<left>, b: Core.Tensor<right>) ->
1007 Totality.Status<Matrix.Error, Core.Tensor<left> & Core.Tensor<right> & Core.Tensor<Matrix.output_shape(left, right, plan)>, Matrix.multiply(left, right, plan, a, b)>:
1008 match plan:
1009 case Matrix.Plan{+output, +rows, +inner, +right_inner, +columns, le, re, oe, compatible}:
1010 created_status(left, right, output, rows, inner, right_inner, columns, Core.new(output, 0.0), a, b,
1011 AllocationProof.core_new_done(output, 0.0), le, re, oe, compatible)
Uses (11)
Used by (0)
No other definition uses this definition.