<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/models/blob/v2.20.0/official/modeling/hyperparams/__init__.py) |

Hyperparams package definition.

## Modules

[`base_config`](https://www.tensorflow.org/api_docs/python/tfm/hyperparams/base_config) module: Base configurations to standardize experiments.

[`oneof`](https://www.tensorflow.org/api_docs/python/tfm/hyperparams/oneof) module: Config class that supports oneof functionality.

[`params_dict`](https://www.tensorflow.org/api_docs/python/tfm/hyperparams/params_dict) module: A parameter dictionary class which supports the nest structure.

## Classes

[`class Config`](https://www.tensorflow.org/api_docs/python/tfm/hyperparams/Config): The base configuration class that supports YAML/JSON based overrides.

[`class OneOfConfig`](https://www.tensorflow.org/api_docs/python/tfm/hyperparams/OneOfConfig): Configuration for configs with one of feature.

[`class ParamsDict`](https://www.tensorflow.org/api_docs/python/tfm/hyperparams/ParamsDict): A hyperparameter container class.

## Functions

[`bind(...)`](https://www.tensorflow.org/api_docs/python/tfm/hyperparams/bind): Bind a class to config cls.

[`nested_csv_str_to_json_str(...)`](https://www.tensorflow.org/api_docs/python/tfm/hyperparams/nested_csv_str_to_json_str): Converts a nested (using '.') comma-separated k=v string to a JSON string.

[`override_params_dict(...)`](https://www.tensorflow.org/api_docs/python/tfm/hyperparams/override_params_dict): Override a given ParamsDict using a dict, JSON/YAML/CSV string or YAML file.

[`read_yaml_to_params_dict(...)`](https://www.tensorflow.org/api_docs/python/tfm/hyperparams/read_yaml_to_params_dict): Reads a YAML file to a ParamsDict.

[`save_params_dict_to_yaml(...)`](https://www.tensorflow.org/api_docs/python/tfm/hyperparams/save_params_dict_to_yaml): Saves the input ParamsDict to a YAML file.