type MatrixInputs

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

import bendtorch-core@0.1.0.0/src/tensor/math_totality.bend as MathTotality
import Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape

16type MatrixInputs<-left: Shape.Shape, -right: Shape.Shape> is Data:
17  MatrixInputs{-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    -compatible: {U32.to_nat(inner) == U32.to_nat(right_inner) : Nat},
21    -output_supported: Shape.LE(Shape.logical_numel([rows, columns]), 1048576n)}

Uses (8)

Used by (7)