I wrote the codes as follow which is copyed from pytorch.org.
input = torch.randn(3, 5)
print(torch.pinverse(input))
AttributeError: module ‘torch’ has no attribute ‘pinverse’.
Have somebody can help me?
I wrote the codes as follow which is copyed from pytorch.org.
input = torch.randn(3, 5)
print(torch.pinverse(input))
AttributeError: module ‘torch’ has no attribute ‘pinverse’.
Have somebody can help me?
Hi,
Which version of pytorch do you have? It has been added recently.
The version of pytorch is 0.4.0. Is it available?
Thank you! I have updated the pytorch to 0.4.1 and solved it.