algorithms/ppo_scm.py
def postprocess_ppo_scm(policy, sample_batch, other_agent_batches=None, episode=None):
    """
    Add the influence and curiosity reward to the trajectory.
    Then, add the policy logits, VF preds, and advantages to the trajectory.
    :return: Updated trajectory (batch)
    """
    batch = moa_postprocess_trajectory(policy, sample_batch)
    batch = scm_postprocess_trajectory(policy, batch)
    batch = postprocess_ppo_gae(policy, batch)
    return batch

    Add the influence and curiosity reward to the trajectory.
    Then, add the policy logits, VF preds, and advantages to the trajectory.
    :return: Updated trajectory (batch)
    
Add the influence and curiosity reward to the trajectory.
Then, add the policy logits, VF preds, and advantages to the trajectory.
Add the influence and curiosity reward to the trajectory . Then add the policy logits VF preds and advantages to the trajectory .
def postprocess_ppo_scm(policy, sample_batch, other_agent_batches=None, episode=None):
    batch = moa_postprocess_trajectory(policy, sample_batch)
    batch = scm_postprocess_trajectory(policy, batch)
    batch = postprocess_ppo_gae(policy, batch)
    return batch
def postprocess_ppo_scm ( policy , sample_batch , other_agent_batches = None , episode = None ) : batch = moa_postprocess_trajectory ( policy , sample_batch ) batch = scm_postprocess_trajectory ( policy , batch ) batch = postprocess_ppo_gae ( policy , batch ) return batch
Add the influence and curiosity reward to the trajectory.
Add the influence and curiosity reward to the trajectory .
"""
    Add the influence and curiosity reward to the trajectory.
    Then, add the policy logits, VF preds, and advantages to the trajectory.
    :return: Updated trajectory (batch)
    """
Updated trajectory (batch)
Updated trajectory ( batch )
policy
sample_batch
other_agent_batches
episode