Can't use torch.angle?

On the PyTorch documentation it says there is a method torch.angle that returns the element wise angles between the input vectors. Does this method still exist? I’m trying to use it except it gives the error:
module ‘torch’ has no attribute ‘angle’

Thanks in advance.

Could you check your PyTorch version via torch.__version__?
I guess your build might be too old.

Yep, this was the problem. I updated PyTorch and was able to use the function. Thanks!