Module: tfm.hyperparams.params_dict

View source on GitHub

A parameter dictionary class which supports the nest structure.

Classes

class ParamsDict: A hyperparameter container class.

Functions

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.