def output_dimensions

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

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

141def output_dimensions(-left: Shape.Shape, -right: Shape.Shape, -output: Shape.Shape, -rows: U32, -inner: U32, -right_inner: U32, -columns: U32,
142  facts: MatrixFacts<left, right, output, rows, inner, right_inner, columns>) -> {Shape.dimensions(output) == [rows, columns] : List<&2, U32>}:
143  MatrixFacts{le, re, oe, compatible} = facts
144  oe

Uses (5)

Used by (5)