TFSnippetConfig¶
-
class
tfsnippet.utils.TFSnippetConfig¶ Bases:
tfsnippet.utils.config_utils.ConfigGlobal configurations of TFSnippet.
Attributes Summary
auto_histogramcheck_numericsenable_assertionsfile_cache_checksumMethods Summary
to_dict()Get the config values as a dict. update(key_values)Update the config values from key_values. Attributes Documentation
-
auto_histogram= <tfsnippet.utils.config_utils.ConfigField object>¶
-
check_numerics= <tfsnippet.utils.config_utils.ConfigField object>¶
-
enable_assertions= <tfsnippet.utils.config_utils.ConfigField object>¶
-
file_cache_checksum= <tfsnippet.utils.config_utils.ConfigField object>¶
Methods Documentation
-
update(key_values)¶ Update the config values from key_values.
Parameters: key_values – A dict, or a sequence of (key, value) pairs.
-