/external/tensorflow/tensorflow/examples/speech_commands/ |
wav_to_features.py | 42 from tensorflow.python.platform import gfile 80 with gfile.GFile(output_c_file, 'w') as f:
|
/external/tensorflow/tensorflow/python/grappler/ |
cost_analyzer_tool.py | 36 from tensorflow.python.platform import gfile 42 with gfile.GFile(FLAGS.input) as input_file:
|
/external/tensorflow/tensorflow/python/tools/ |
print_selective_registration_header_test.py | 28 from tensorflow.python.platform import gfile 92 with gfile.GFile(fname, 'wb') as f:
|
/external/tensorflow/tensorflow/tools/test/ |
run_and_gather_logs.py | 33 from tensorflow.python.platform import gfile 95 gfile.GFile(output_path + ".json", "w").write(json_test_results)
|
gpu_info_lib.py | 26 from tensorflow.python.platform import gfile 32 for f in gfile.Glob("/proc/driver/nvidia/gpus/*/information"): 35 for line in gfile.GFile(f, "r"))
|
/external/tensorflow/tensorflow/contrib/slim/python/slim/data/ |
dataset_data_provider_test.py | 35 from tensorflow.python.platform import gfile 46 if not gfile.Exists(tmpdir): 47 gfile.MakeDirs(tmpdir)
|
parallel_reader.py | 26 from tensorflow.python.platform import gfile 308 data_files = gfile.Glob(data_sources)
|
/external/tensorflow/tensorflow/examples/tutorials/mnist/ |
fully_connected_feed.py | 219 if tf.gfile.Exists(FLAGS.log_dir): 220 tf.gfile.DeleteRecursively(FLAGS.log_dir) 221 tf.gfile.MakeDirs(FLAGS.log_dir)
|
mnist_with_summaries.py | 183 if tf.gfile.Exists(FLAGS.log_dir): 184 tf.gfile.DeleteRecursively(FLAGS.log_dir) 185 tf.gfile.MakeDirs(FLAGS.log_dir)
|
/external/tensorflow/tensorflow/python/data/experimental/benchmarks/ |
csv_dataset_benchmark.py | 33 from tensorflow.python.platform import gfile 46 gfile.MakeDirs(googletest.GetTempDir()) 62 gfile.DeleteRecursively(self._temp_dir)
|
/external/tensorflow/tensorflow/python/debug/cli/ |
cli_config_test.py | 27 from tensorflow.python.platform import gfile 36 self.assertFalse(gfile.Exists(self._tmp_config_path)) 49 self.assertTrue(gfile.Exists(self._tmp_config_path))
|
cli_shared.py | 31 from tensorflow.python.platform import gfile 195 with gfile.Open(write_path, "wb") as output_file: 199 line += " (%sB)" % bytes_to_readable_str(gfile.Stat(write_path).length)
|
readline_ui_test.py | 28 from tensorflow.python.platform import gfile 164 with gfile.Open(output_path, "r") as f:
|
/external/tensorflow/tensorflow/contrib/slim/python/slim/ |
evaluation_test.py | 41 from tensorflow.python.platform import gfile 97 gfile.MakeDirs(chkpt_dir) 99 gfile.MakeDirs(logdir) 208 gfile.MakeDirs(chkpt_dir) 210 gfile.MakeDirs(logdir)
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/utils/ |
export_test.py | 37 from tensorflow.python.platform import gfile 69 self.assertTrue(gfile.Exists(export_dir)) 243 self.assertTrue(gfile.Exists(export_dir))
|
/external/tensorflow/tensorflow/python/platform/ |
benchmark.py | 35 from tensorflow.python.platform import gfile 109 if gfile.Exists(output_path): 111 with gfile.GFile(output_path, "wb") as out:
|
/external/tensorflow/tensorflow/python/summary/writer/ |
writer.py | 32 from tensorflow.python.platform import gfile 222 gfile.MakeDirs(plugin_dir) 226 with gfile.Open(asset_path, "w") as f:
|
/external/tensorflow/tensorflow/contrib/distribute/python/ |
estimator_integration_test.py | 38 from tensorflow.python.platform import gfile 132 self.assertTrue(gfile.Exists(export_dir))
|
/external/tensorflow/tensorflow/contrib/framework/python/framework/ |
checkpoint_utils.py | 28 from tensorflow.python.platform import gfile 42 if gfile.IsDirectory(filepattern):
|
/external/tensorflow/tensorflow/python/profiler/ |
tfprof_logger.py | 31 from tensorflow.python.platform import gfile 217 with gfile.Open(os.path.join(log_dir, 'tfprof_log'), 'w') as log:
|
/external/tensorflow/tensorflow/python/saved_model/model_utils/ |
export_utils.py | 27 from tensorflow.python.platform import gfile 217 if not gfile.Exists(result_dir):
|
/external/tensorflow/tensorflow/python/training/ |
checkpoint_utils.py | 30 from tensorflow.python.platform import gfile 284 if gfile.IsDirectory(ckpt_dir_or_file):
|
/external/tensorflow/tensorflow/python/debug/wrappers/ |
dumping_wrapper_test.py | 39 from tensorflow.python.platform import gfile 85 self.assertTrue(gfile.Exists(file_path)) 86 self.assertFalse(gfile.IsDirectory(file_path)) 96 self.assertTrue(gfile.IsDirectory(new_dir_path)) 98 gfile.DeleteRecursively(new_dir_path)
|
/external/tensorflow/tensorflow/python/debug/lib/ |
debug_data.py | 36 from tensorflow.python.platform import gfile 56 return gfile.Glob(glob_pattern) 100 with gfile.Open(event_file_path, "rb") as f: 145 with gfile.Open(event_file_path, "rb") as f: 153 with gfile.Open(event_file_path, "rb") as f: 330 self._dump_size_bytes = (gfile.Stat(self._file_path).length if 331 gfile.Exists(self._file_path) else None) 485 if not gfile.IsDirectory(dump_root): 559 for root, _, files in gfile.Walk(device_root): 587 with gfile.Open(core_metadata_file, "rb") as f [all...] |
/external/tensorflow/tensorflow/python/kernel_tests/ |
summary_ops_test.py | 49 from tensorflow.python.platform import gfile 540 event_files = gfile.Glob(os.path.join(logdir, '*')) 551 self.assertEmpty(gfile.Glob(os.path.join(logdir, '*'))) 562 self.assertEmpty(gfile.Glob(os.path.join(logdir, '*'))) 576 self.assertEqual(1, len(gfile.Glob(os.path.join(logdir, '*')))) 601 event_files = gfile.Glob(os.path.join(logdir, '*')) 608 event_files = gfile.Glob(os.path.join(logdir, '*')) 646 event_files = gfile.Glob(os.path.join(logdir, '*')) 651 event_files = gfile.Glob(os.path.join(logdir, '*')) 757 files = gfile.Glob(os.path.join(logdir, '*') [all...] |