type MatrixFacts

bendtorch-core@0.1.0.0 · src/tensor/contracts/matmul_proof.bend:24

import bendtorch-core@0.1.0.0/src/tensor/contracts/matmul_proof.bend as MatmulProof
import Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape

24type MatrixFacts<-left: Shape.Shape, -right: Shape.Shape, -output: Shape.Shape, -rows: U32, -inner: U32, -right_inner: U32, -columns: U32> is Data:
25  MatrixFacts{left_dimensions: {Shape.dimensions(left) == [rows, inner] : List<&2, U32>},
26    right_dimensions: {Shape.dimensions(right) == [right_inner, columns] : List<&2, U32>},
27    output_dimensions: {Shape.dimensions(output) == [rows, columns] : List<&2, U32>},
28    compatible: {U32.to_nat(inner) == U32.to_nat(right_inner) : Nat}}

Uses (6)

Used by (14)