def product_inner

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

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

245def product_inner(-lo: Matrix.Order, -ro: Matrix.Order, -left: Shape.Shape, -right: Shape.Shape, plan: Matrix.Product<lo, ro, left, right>) -> Nat:
246  Matrix.Product{output, rows, inner, right_inner, columns, le, re, oe, compatible} = plan
247  U32.to_nat(inner)

Uses (5)

Used by (9)