Pytorch max - not able to find max() in torch

I’m using Python 3.7 and Pytorch1.0 …I’m not able to find max() in torch . Can any body help me

Hi,

You mean that running import torch works well but print(torch.max) raise an error? How did you installed pytorch?

Hi,

I think what you mean is when using IDE like Pycharm, you can not trace torch.max() with ctrl and a click. This is a common problem, see this Type hint problem.