ray.rllib.utils.torch_utils.warn_if_infinite_kl_divergence#

ray.rllib.utils.torch_utils.warn_if_infinite_kl_divergence(policy: TorchPolicy, kl_divergence: numpy.array | jnp.ndarray | tf.Tensor | torch.Tensor) None[source]#