def dimensions

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

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

617def dimensions(shape: Shape) -> List<&2, U32>:
618  SShape{dims, size, exact, rank_bound, capacity_bound} = shape
619  dims

Uses (3)

Used by (1092)