ls_mlkit.util.shape module

ls_mlkit.util.shape.get_macroscopic_shape(obj: Tensor | tuple, ndim_microscopic: int) Tuple[int][source]

Get the macroscopic shape of an object.