ray.rllib.utils.replay_buffers.reservoir_replay_buffer.ReservoirReplayBuffer.apply#
- ReservoirReplayBuffer.apply(func: Callable[[Any, Any | None, Any | None], T], *args, **kwargs) T#
- Calls the given function with this Actor instance. - A generic interface for applying arbitrary member functions on a remote actor. - Parameters:
- func – The function to call, with this actor as first argument, followed by args, and kwargs. 
- args – Optional additional args to pass to the function call. 
- kwargs – Optional additional kwargs to pass to the function call. 
 
- Returns:
- The return value of the function call. 
 - DeveloperAPI: This API may change across minor Ray releases.