TensorShape.rank: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/tensor_shape.bend as TensorShape Lines 9-11 of stelliferous@0.0.2.0/tensor_shape.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/tensor_shape.bend&start_line=9&end_line=11 import Base def rank(shape: Shape) -> Nat: Shape{extents} = shape List.length(&2,U32,extents) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.length https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor_shape.bend&name=Shape