I wrote the codes as follow which is copyed from pytorch.org 1.
input = torch.randn(3, 5)
print(torch.pinverse(input))
AttributeError: module ‘torch’ has no attribute ‘pinverse’.
Have somebody can help me?