Module: tfm.hyperparams

View source on GitHub

Hyperparams package definition.

Modules

base_config module: Base configurations to standardize experiments.

oneof module: Config class that supports oneof functionality.

params_dict module: A parameter dictionary class which supports the nest structure.

Classes

class Config: The base configuration class that supports YAML/JSON based overrides.

class OneOfConfig: Configuration for configs with one of feature.

class ParamsDict: A hyperparameter container class.

Functions

bind(...): Bind a class to config cls.

nested_csv_str_to_json_str(...): Converts a nested (using '.') comma-separated k=v string to a JSON string.

override_params_dict(...): Override a given ParamsDict using a dict, JSON/YAML/CSV string or YAML file.

read_yaml_to_params_dict(...): Reads a YAML file to a ParamsDict.

save_params_dict_to_yaml(...): Saves the input ParamsDict to a YAML file.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.

Last updated 2024年02月02日 UTC.