Skip to content

Commit f6ee768

Browse files
committed
style(nyz): fix flake8 style(ci skip)
1 parent cf72cc0 commit f6ee768

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ding/policy/common_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ def set_noise_mode(module: nn.Module, noise_enabled: bool):
1212
"""
1313
Overview:
1414
Recursively set the 'enable_noise' attribute for all NoiseLinearLayer modules within the given module.
15-
This function is typically used in algorithms such as NoisyNet and Rainbow.
16-
During training, 'enable_noise' should be set to True to enable noise for exploration.
15+
This function is typically used in algorithms such as NoisyNet and Rainbow.
16+
During training, 'enable_noise' should be set to True to enable noise for exploration.
1717
During inference or evaluation, it should be set to False to disable noise for deterministic behavior.
1818
1919
Arguments:

0 commit comments

Comments
 (0)