ray.rllib.policy.eager_tf_policy_v2.EagerTFPolicyV2.get_num_samples_loaded_into_buffer#
- EagerTFPolicyV2.get_num_samples_loaded_into_buffer(buffer_index: int = 0) int #
Returns the number of currently loaded samples in the given buffer.
- Parameters:
buffer_index – The index of the buffer (a MultiGPUTowerStack) to use on the devices. The number of buffers on each device depends on the value of the
num_multi_gpu_tower_stacks
config key.- Returns:
The number of tuples loaded per device.