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.py6463 _config_path = os.path.expanduser(os.path.join(_keras_dir, 'keras.json')) variable
6464 if os.path.exists(_config_path):
6466 with open(_config_path) as fh:
6489 if not os.path.exists(_config_path):
6497 with open(_config_path, 'w') as f: