def rank
import bendtorch-core@0.1.0.0/src/tensor/gather_LAWS.bend as GatherLAWSimport Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
25def rank(+input: Shape.Shape) -> Nat:
26 Shape.rank_dimensions(Shape.dimensions(input))
Uses (4)
Used by (8)
- bendtorch-core@0.1.0.0/src/tensor/gather_LAWS:gather_axis_refused
- bendtorch-core@0.1.0.0/src/tensor/gather_LAWS:gather_out_of_range
- bendtorch-core@0.1.0.0/src/tensor/gather_LAWS:gather_planned
- bendtorch-core@0.1.0.0/src/tensor/gather_LAWS:gather_rank_refused
- bendtorch-core@0.1.0.0/src/tensor/gather_LAWS:gather_shape_refused
- …