Hi,
If you want your Eigen/std lib operations recorded, you’ll want to either create a custom autograd function, or rewrite the operation using pytorch ops.
If you don’t want the operations recorded, but still modify the Tensor inplace, I’m curious what the use case what be since the computed gradients would be wrong.