Hi,
The decorator won’t change the requires_grad property on existing Tensor. The only thing it does is disable tracking of gradient computations within that block.
In particular, that means that if you do any op in your function: t2 = t + 1, then t2.requires_grad=False because that op was not tracked and so the output does not require gradients.