Stops gradient computation.
Behaves as the identity function but prevents the flow of gradients during forward or reverse-mode automatic differentiation.
Stops gradient computation.
Behaves as the identity function but prevents the flow of gradients during forward or reverse-mode automatic differentiation.