Returns a scaling factor for all gradients according to their norm. In case there are NaN or Inf values the function will return 0.0. Args: all_grad_norm: A scalar representing the total norm of all vars. has_nan_or_inf: A scalar of 0 or 1, indicating whether there is any NaN o
(self, all_grad_norm, has_nan_or_inf)
source not stored for this graph (policy: none)
no test coverage detected