Tensor.ndim

property Tensor.ndim

Number of axes (=dimensions) of this tensor.