torch.Tensor.ndimension ======================= .. currentmodule:: torch .. automethod:: Tensor.ndimension