So I guess then there’s no libtorch-“standard” way I can know inside the forward method whether the autograd::Function is being called from a context with autograd on? (except of course adding a flag myself that I manually set to true when I’m in training/backprop mode and false otherwise)