The requires_grad keyword argument only works for the tensor factory functions.
Initially, requires_grad_ only worked on Tensors / Parameters, too, but now module.requires_grad_(rq) is a convenience shorthand for for p in module.parameters(): p.requires_grad_(rq).
Best regards
Thomas