fragile.callbacks.memory
Contents
fragile.callbacks.memory
#
Module Contents#
Classes#
Replay buffer that contains data collected from algorithm runs. |
- class fragile.callbacks.memory.ReplayMemory(max_size, names=None, min_size=None, **kwargs)[source]#
Bases:
fragile.core.api_classes.Callback
Replay buffer that contains data collected from algorithm runs.
- name = memory#
- _log#
- is_ready()[source]#
Return
True
if the number of experiences in the memory is greater thanmin_size
.- Return type
- get_values()[source]#
Return a tuple containing the memorized data for all the saved data attributes.
- Return type
Tuple[fragile.core.typing.Tensor, Ellipsis]