rank The number of dimensions of the shape. Declarationvar rank: Int { get } See AlsoInspecting the Properties of a ShapebatchStridelayoutsizestride