I want to use torch.lstsq(), but I got a this error msg.
" module ‘torch’ has no attribute ‘lstsq’ "
Why does this error occur?
I want to use torch.lstsq(), but I got a this error msg.
" module ‘torch’ has no attribute ‘lstsq’ "
Why does this error occur?
This method was introduces in PyTorch 1.2.0
, so make sure you are using the latest stable release.
You can find the install instructions on the website.
Oh, I see. Thanks to your reply!