In new version 1.18, torch has no attribute ‘cov’, but vervison 1.11 has torch.cov.
The latest stable release is 1.12.1
which also has torch.cov
so unsure where 1.18
is coming from.
OK. There’s no such a problem in the latest version. Many thanks.