basic_utils/replay_memory.py
def add(self, *args, **kwargs):
        """
        Add new data to the replay memory.

        Args:
            data: new data to add
        """
        idx = self._next_idx
        super().add(*args, **kwargs)
        self._it_sum[idx] = self._max_priority ** self._alpha

        Add new data to the replay memory.

        Args:
            data: new data to add
        
Add new data to the replay memory.
Add new data to the replay memory .
def add(self, *args, **kwargs):
        idx = self._next_idx
        super().add(*args, **kwargs)
        self._it_sum[idx] = self._max_priority ** self._alpha
def add ( self , * args , ** kwargs ) : idx = self . _next_idx super ( ) . add ( * args , ** kwargs ) self . _it_sum [ idx ] = self . _max_priority ** self . _alpha
Add new data to the replay memory.
Add new data to the replay memory .
"""
        Add new data to the replay memory.

        Args:
            data: new data to add
        """
self
data
new data to add
new data to add