ray.rllib.evaluation.sampler.SamplerInput#

class ray.rllib.evaluation.sampler.SamplerInput[源代码]#

基类:InputReader

从现有的采样器中读取输入经验。

方法

__init__

get_data

通过 self.next() 调用来返回下一个数据批次。

get_extra_batches

返回自上次调用此方法以来的额外批次列表。

get_metrics

返回自上次调用此方法以来的剧集指标列表。

tf_input_ops

返回用于从此读取器读取输入的 TensorFlow 队列操作。