framework.middleware.functional.explorer¶
explorer¶
eps_greedy_handler¶
- ding.framework.middleware.explorer.eps_greedy_handler(cfg: EasyDict) Callable ¶
- Overview:
The middleware that computes epsilon value according to the env_step.
- Arguments:
cfg (
EasyDict
): Config.
eps_greedy_masker¶
- ding.framework.middleware.explorer.eps_greedy_masker()¶
- Overview:
The middleware that returns masked epsilon value and stop generating actions by the e_greedy method.