MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / _save_to_file

Method _save_to_file

tensorflow/python/debug/cli/cli_config.py:123–128  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

121 return os.path.join(os.path.expanduser("~"), self._CONFIG_FILE_NAME)
122
123 def _save_to_file(self):
124 try:
125 with gfile.Open(self._config_file_path, "w") as config_file:
126 json.dump(self._config, config_file)
127 except IOError:
128 pass
129
130 def summarize(self, highlight=None):
131 """Get a text summary of the config.

Callers 2

__init__Method · 0.95
setMethod · 0.95

Calls 2

OpenMethod · 0.45
dumpMethod · 0.45

Tested by

no test coverage detected