type Plan

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

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

16type Plan<-left: Shape.Shape, -right: Shape.Shape> is Data:
17  Plan{output: Shape.Shape, rows: U32, inner: U32, right_inner: U32, columns: U32,
18    -left_dimensions: {Shape.dimensions(left) == [rows, inner] : List<&2, U32>},
19    -right_dimensions: {Shape.dimensions(right) == [right_inner, columns] : List<&2, U32>},
20    -output_dimensions: {Shape.dimensions(output) == [rows, columns] : List<&2, U32>},
21    -compatible: {U32.to_nat(inner) == U32.to_nat(right_inner) : Nat}}

Uses (6)

Used by (51)