def __init__(self, run_as_trigger=True, run_step=False):
        """
        Args: same as in :class:`RunOp`.
        """
        super().__init__(
            self._get_op,
            run_as_trigger=run_as_trigger,
            run_step=run_step)

        Args: same as in :class:`RunOp`.
        
tensorpack/callbacks/graph.py