def rank

bendtorch-core@0.1.0.0 · src/shape/core.bend:633

import bendtorch-core@0.1.0.0/src/shape/core.bend as Core
import Base

633def rank(shape: Shape) -> U32:
634  U32.from_nat(rank_dimensions(dimensions(shape)))

Uses (5)

Used by (40)