Hi,
I’m looking for a way to check if gradient calculation is enabled or not from within my net. Is there a way to do this from within PyTorch? Something like: torch.check_grad_enabled → bool…
Thanks.