# tensorplay.requires_grad_ Source: https://www.tensorplay.cn/docs/generated/tensorplay.requires_grad_.html ```python tensorplay.requires_grad_(input, requires_grad=True) ```