def matrix_inner
import bendtorch-core@0.1.0.0/src/tensor/contracts/LAWS.bend as LAWSimport 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
140def matrix_inner(-left: Shape.Shape, -right: Shape.Shape, plan: Matrix.Plan<left, right>) -> Nat:
141 Matrix.Plan{output, rows, inner, right_inner, columns, le, re, oe, compatible} = plan
142 U32.to_nat(inner)
Uses (4)
Used by (7)
- bendtorch-core@0.1.0.0/src/tensor/contracts/LAWS:MatmulWith
- bendtorch-core@0.1.0.0/src/autograd/tensor_vjp_PROOF:MatmulGoal
- bendtorch-core@0.1.0.0/src/autograd/tensor_vjp_PROOF:NTGoal
- bendtorch-core@0.1.0.0/src/tensor/contracts/matmul_proof:matmul_ordered
- bendtorch-core@0.1.0.0/src/autograd/tensor_vjp_LAWS:tensor_matmul_nt_vjp_values
- …