TFSnippetConfig

class tfsnippet.utils.TFSnippetConfig

Bases: tfsnippet.utils.config_utils.Config

Global configurations of TFSnippet.

Attributes Summary

check_numerics
enable_assertions

Methods Summary

to_dict() Get the config values as a dict.
update(key_values) Update the config values from key_values.

Attributes Documentation

check_numerics = <tfsnippet.utils.config_utils.ConfigField object>
enable_assertions = <tfsnippet.utils.config_utils.ConfigField object>

Methods Documentation

to_dict()

Get the config values as a dict.

Returns:The config values.
Return type:dict[str, any]
update(key_values)

Update the config values from key_values.

Parameters:key_values – A dict, or a sequence of (key, value) pairs.