def METHOD_NAME(self, info, value):
    if not self._compute_advantages_internally:
        return info.returns, info.advantages
    # If rollout_value is present in ``info``, we use it to compute the
    # advantage. This is mainly for algorithms like PPG where at this time
    # info.value is the newly computed value which is different from the
    # rollout time value prediction. The rollout time value prediction is
    # preserved in info.rollout_value.
    assert hasattr(info, 'rollout_value'), (
        'Expect info.rollout_value to exist for computing returns '
        'and advatages inside PPOLoss.')
    return super().METHOD_NAME(info, info.rollout_value)