Makes the TF summary of the entropy regularization loss unconditional. `if _entropy_regularization:` fails if `self._entropy_regularization` is a `tf.Variable` and the `PPO._train` decorated with `tf.contrib.eager.defun` since autograph requires that `self._entropy_regularization` is a bool.
Makes the TF summary of the entropy regularization loss unconditional. `if _entropy_regularization:` fails if `self._entropy_regularization` is a `tf.Variable` and the `PPO._train` decorated with `tf.contrib.eager.defun` since autograph requires that `self._entropy_regularization` is a bool.

PiperOrigin-RevId: 266378953
Change-Id: I586e1b1c2363c077a29d05f5bd0acc9bcd9801ef

tensorflow/agents,tensorflow/agents