def matrix_rows

bendtorch-core@0.1.0.0 · src/tensor/contracts/LAWS.bend:136

import bendtorch-core@0.1.0.0/src/tensor/contracts/LAWS.bend as LAWS
import Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
import bendtorch-core@0.1.0.0/src/tensor/matmul.bend as Matrix

136def matrix_rows(-left: Shape.Shape, -right: Shape.Shape, plan: Matrix.Plan<left, right>) -> Nat:
137  Matrix.Plan{output, rows, inner, right_inner, columns, le, re, oe, compatible} = plan
138  U32.to_nat(rows)

Uses (4)

Used by (7)