


y.requires_grad
      False
      >>> _ = torch.set_grad_enabled(True)
      >>> y = x * 2
      >>> y.requires_grad
      True
      >>> _ = torch.set_grad_enabled(False)
      >>> y = x * 2
      >>> y.requires_grad
      False


