o
    1 i”  ã                   @   sF   d dl mZmZ d dlmZ eG dd„ dƒƒZeG dd„ deƒƒZdS )é    )ÚoverrideÚ	PublicAPI)ÚSampleBatchTypec                   @   s"   e Zd ZdZedefdd„ƒZdS )ÚOutputWriterz9Writer API for saving experiences from policy evaluation.Úsample_batchc                 C   s   t ‚)zwSaves a batch of experiences.

        Args:
            sample_batch: SampleBatch or MultiAgentBatch to save.
        )ÚNotImplementedError©Úselfr   © r
   úk/home/app/PaddleOCR-VL-test/.venv_paddleocr/lib/python3.10/site-packages/ray/rllib/offline/output_writer.pyÚwrite	   s   zOutputWriter.writeN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r
   r
   r
   r   r      s    r   c                   @   s&   e Zd ZdZeeƒdefdd„ƒZdS )Ú
NoopOutputz(Output writer that discards its outputs.r   c                 C   s   d S )Nr
   r   r
   r
   r   r      s   zNoopOutput.writeN)r   r   r   r   r   r   r   r   r
   r
   r
   r   r      s    r   N)Zray.rllib.utils.annotationsr   r   Zray.rllib.utils.typingr   r   r   r
   r
   r
   r   Ú<module>   s    