Custom Top-eigenvector Function

Hi,

I think you have the same problem as this post.
Basically, add a cov_in.retain_grad() before giving it to gradcheck.

2 Likes