OmniSafe Tools
==============

.. currentmodule:: omnisafe.utils.tools

.. autosummary::

    get_flat_params_from
    get_flat_gradients_from
    set_param_values_to_model
    custom_cfgs_to_dict
    update_dict
    load_yaml
    recursive_check_config
    seed_all

Algorithms Tools
----------------

.. card::
    :class-header: sd-bg-success sd-text-white
    :class-card: sd-outline-success  sd-rounded-1

    Documentation
    ^^^

    .. autofunction:: get_flat_params_from
    .. autofunction:: get_flat_gradients_from
    .. autofunction:: set_param_values_to_model

Config Tools
----------------

.. card::
    :class-header: sd-bg-success sd-text-white
    :class-card: sd-outline-success  sd-rounded-1

    Documentation
    ^^^
    .. autofunction:: custom_cfgs_to_dict
    .. autofunction:: update_dict
    .. autofunction:: load_yaml
    .. autofunction:: recursive_check_config

Seed Tools
----------------

.. card::
    :class-header: sd-bg-success sd-text-white
    :class-card: sd-outline-success  sd-rounded-1

    Documentation
    ^^^
    .. autofunction:: seed_all

.. currentmodule:: omnisafe.utils.exp_grid_tools

Experiment Grid Tools
---------------------

.. card::
    :class-header: sd-bg-success sd-text-white
    :class-card: sd-outline-success  sd-rounded-1

    Documentation
    ^^^
    .. autofunction:: all_bools
    .. autofunction:: valid_str
