# tensorplay.autograd.function.once_differentiable Source: https://www.tensorplay.cn/docs/generated/tensorplay.autograd.function.once_differentiable.html ```python tensorplay.autograd.function.once_differentiable(fn) ``` Decorator to make a custom autograd Function’s backward run once, with gradients detached and grad-mode disabled inside.