def created

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

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

209def created(+left: Shape.Shape, +right: Shape.Shape, +output: Shape.Shape, +inner: U32, +columns: U32,
210  a: Core.Tensor<left>, b: Core.Tensor<right>, result: Result<&2, &1, Core.Error, Core.Tensor<output>>) ->
211  Result<&2, &1, Error, Core.Tensor<left> & Core.Tensor<right> & Core.Tensor<output>>:
212  match result:
213    case Fail{error}:
214      Fail{TensorError{error}}
215    case Done{out}:
216      natural_product_loop(Shape.elements(output), left, right, output,
217        inner, columns, a, b, out, 0n)

Uses (9)

Used by (3)