Skip to content

Commit

Permalink
Update docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
Toni-SM committed Jul 8, 2024
1 parent 8f88ecf commit bd2391b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion skrl/models/jax/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ def migrate(self,
name_map: Mapping[str, str] = {},
auto_mapping: bool = True,
verbose: bool = False) -> bool:
"""Migrate the specified extrernal model's state dict to the current model
"""Migrate the specified external model's state dict to the current model
.. warning::
Expand Down Expand Up @@ -613,6 +613,9 @@ def reduce_parameters(self, tree: Any) -> Any:
:param tree: pytree to apply collective reduction
:type tree: Any
:return: all-reduced pytree
:rtype: Any
Example::
# reduce model parameter across all workers/processes
Expand Down

0 comments on commit bd2391b

Please sign in to comment.