alpaca/alpacka/agents/base.py
def postprocess_transition(transition):
        """Postprocesses Transitions before passing them to Trainer.

        Can be overridden in subclasses to customize data collection.

        Called after the episode has finished, so can incorporate any
        information known only in the hindsight to the transitions.

        Args:
            transition (Transition): Transition to postprocess.

        Returns:
            Postprocessed Transition.
        """
        return transition
Postprocesses Transitions before passing them to Trainer.

        Can be overridden in subclasses to customize data collection.

        Called after the episode has finished, so can incorporate any
        information known only in the hindsight to the transitions.

        Args:
            transition (Transition): Transition to postprocess.

        Returns:
            Postprocessed Transition.
        
Postprocesses Transitions before passing them to Trainer.
Can be overridden in subclasses to customize data collection.

Called after the episode has finished, so can incorporate any
information known only in the hindsight to the transitions.
Postprocesses Transitions before passing them to Trainer . Can be overridden in subclasses to customize data collection . Called after the episode has finished so can incorporate any information known only in the hindsight to the transitions .
def postprocess_transition(transition):
        return transition
def postprocess_transition ( transition ) : return transition
Postprocesses Transitions before passing them to Trainer.
Postprocesses Transitions before passing them to Trainer .
"""Postprocesses Transitions before passing them to Trainer.

        Can be overridden in subclasses to customize data collection.

        Called after the episode has finished, so can incorporate any
        information known only in the hindsight to the transitions.

        Args:
            transition (Transition): Transition to postprocess.

        Returns:
            Postprocessed Transition.
        """
None
transition
Transition to postprocess.
Transition to postprocess .