class_docstr: This buffer implements Prioritized Experience Replay.
  
  The algorithm has been described by Tom Schaul et. al. in "Prioritized
  Experience Replay". See https://arxiv.org/pdf/1511.05952.pdf for
  the full paper.
docstr: Returns the stats of this buffer.
  
  Args:
      debug: If true, adds sample eviction statistics to the returned stats dict.
  
  Returns:
      A dictionary of stats about this buffer.
docstr_tok: ["Returns","the","stats","of","this","buffer",".","Args",":","debug",":","If","true",",","adds","sample","eviction","statistics","to","the","returned","stats","dict",".","Returns",":","A","dictionary","of","stats","about","this","buffer","."]
code: def stats(self, debug: bool = False) -> Dict:
      """Returns the stats of this buffer.
  
      Args:
          debug: If true, adds sample eviction statistics to the returned stats dict.
  
      Returns:
          A dictionary of stats about this buffer.
      """
      parent = ReplayBuffer.stats(self, debug)
      if debug:
          parent.update(self._prio_change_stats.stats())
      return parent
  
imports: import random
  from typing import Any, Dict, List, Optional
  import numpy
  import ray
  import psutil
  from ray.rllib.execution.segment_tree import SumSegmentTree, MinSegmentTree
  from ray.rllib.policy.sample_batch import SampleBatch
  from ray.rllib.utils.annotations import override
  from ray.rllib.utils.metrics.window_stat import WindowStat
  from ray.rllib.utils.replay_buffers.replay_buffer import ReplayBuffer
  from ray.rllib.utils.typing import SampleBatchType
  from ray.util.annotations import DeveloperAPI
label_desc: Use image node_id 6 for calling the PrioritizedReplayBuffer obj's underlying member method code with example usage: obj.stats(debug) and returns: parent