def rank_of
import bendtorch-core@0.1.0.0/src/tensor/slice_LAWS.bend as SliceLAWSimport Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
import bendtorch-core@0.1.0.0/src/tensor/core.bend as Core
import bendtorch-core@0.1.0.0/src/tensor/elementwise_totality.bend as Totality
236def rank_of(input: Core.Dynamic) -> Nat:
237 Shape.rank_dimensions(Shape.dimensions(Totality.dynamic_shape(input)))
Uses (5)
Used by (6)
- bendtorch-core@0.1.0.0/src/tensor/slice_LAWS:narrow_axis_refused
- bendtorch-core@0.1.0.0/src/tensor/slice_LAWS:narrow_out_of_range
- bendtorch-core@0.1.0.0/src/tensor/slice_LAWS:narrow_slices
- bendtorch-core@0.1.0.0/src/tensor/slice_LAWS:select_axis_refused
- bendtorch-core@0.1.0.0/src/tensor/slice_LAWS:select_out_of_range
- …