def right_dimensions

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

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

173def right_dimensions(-left: Shape.Shape, -right: Shape.Shape, -output: Shape.Shape, -rows: U32, -inner: U32, -right_inner: U32, -columns: U32,
174  facts: MatrixFacts<left, right, output, rows, inner, right_inner, columns>) -> {Shape.dimensions(right) == [right_inner, columns] : List<&2, U32>}:
175  MatrixFacts{le, re, oe, compatible} = facts
176  re

Uses (5)

Used by (1)