ray.rllib.utils.replay_buffers.prioritized_replay_buffer.PrioritizedReplayBuffer.update_priorities#

PrioritizedReplayBuffer.update_priorities(idxes: List[int], priorities: List[float]) None[source]#

Update priorities of items at given indices.

Sets priority of item at index idxes[i] in buffer to priorities[i].

Parameters:
  • idxes – List of indices of items

  • priorities – List of updated priorities corresponding to items at the

  • idxes. (idxes denoted by variable)

DeveloperAPI: This API may change across minor Ray releases.