Home
last modified time | relevance | path

Searched refs:_config_path (Results 1 – 3 of 3) sorted by relevance

/external/chromium-trace/catapult/dependency_manager/dependency_manager/
Dbase_config.py94 self._config_path = file_path
97 if not self._config_path:
99 if not os.path.exists(self._config_path):
103 self._WriteConfigToFile(self._config_path, dependencies=self._config_data)
127 'config: %s' % self._config_path)
128 base_path = os.path.dirname(self._config_path)
181 dependency, platform, self._config_path,
191 return self._config_path
300 self._WriteConfigToFile(self._config_path, self._config_data)
325 with open(self._config_path, 'r') as fstream:
[all …]
Dbase_config_unittest.py166 self.assertEqual(self.file_path, config._config_path)
1450 self.assertEqual('file_path', config._config_path)
1465 self.assertEqual('file_path', config._config_path)
/external/tensorflow/tensorflow/python/keras/
Dbackend.py5281 _config_path = os.path.expanduser(os.path.join(_keras_dir, 'keras.json')) variable
5282 if os.path.exists(_config_path):
5284 _config = json.load(open(_config_path))
5306 if not os.path.exists(_config_path):
5314 with open(_config_path, 'w') as f: