ray.rllib.utils.replay_buffers.prioritized_replay_buffer.PrioritizedReplayBuffer.apply#
- PrioritizedReplayBuffer.apply(func: Callable[[Any, Any | None, Any | None], T], *args, _ray_trace_ctx=None, **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.