IOContext.default_sampler_input() Optional[SamplerInput][source]#

Returns the RolloutWorker’s SamplerInput object, if any.

Returns None if the RolloutWorker has no SamplerInput. Note that local workers in case there are also one or more remote workers by default do not create a SamplerInput object.


The RolloutWorkers’ SamplerInput object or None if none exists.