def matmul
bendtorch-core@0.1.0.0 · src/tensor/batched_matmul.bend:370
import bendtorch-core@0.1.0.0/src/tensor/batched_matmul.bend as BatchedMatmul
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
370
371def matmul(left: Core.Dynamic, right: Core.Dynamic) -> Result<&2, &1, Matrix.Error, Core.Dynamic & Core.Dynamic & Core.Dynamic>:
372 Core.Packed{+left_shape, a} = left
373 Core.Packed{+right_shape, b} = right
374 routed(left_shape, right_shape, a, b, Shape.dimensions(left_shape), Shape.dimensions(right_shape))