def product_columns
bendtorch-core@0.1.0.0 · src/tensor/contracts/LAWS.bend:249
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
249def product_columns(-lo: Matrix.Order, -ro: Matrix.Order, -left: Shape.Shape, -right: Shape.Shape, plan: Matrix.Product<lo, ro, left, right>) -> Nat:
250 Matrix.Product{output, rows, inner, right_inner, columns, le, re, oe, compatible} = plan
251 U32.to_nat(columns)