Home
last modified time | relevance | path

Searched refs:logdir (Results 1 – 25 of 119) sorted by relevance

12345

/external/autotest/client/bin/
Dsite_sysinfo_unittest.py168 logdir = site_sysinfo.logdir(self.from_dir)
169 logdir.run(self.to_dir)
179 logdir = site_sysinfo.logdir(self.from_dir)
180 logdir.run(self.to_dir)
201 logdir = site_sysinfo.logdir(from_symlink)
202 logdir.run(self.to_dir)
215 logdir = site_sysinfo.logdir(self.from_dir)
216 logdir.run(self.to_dir)
234 logdir = site_sysinfo.logdir(exclude_pattern_dir)
235 logdir.run(self.to_dir)
[all …]
Dbase_sysinfo.py56 def readline(self, logdir): argument
63 path = os.path.join(logdir, self.logf)
70 def run(self, logdir): argument
112 def run(self, logdir): argument
119 dst = os.path.join(logdir, self.logf, self.path.lstrip('/'))
122 dst = os.path.join(logdir, self.logf)
162 def run(self, logdir): argument
170 logf_path = os.path.join(logdir, self.logf)
291 logdir = os.path.join(self._get_sysinfodir(test.outputdir), iter_dir)
292 if not os.path.exists(logdir):
[all …]
Dautotestd_monitor6 logdir = sys.argv[1] variable
10 stderr = open(os.path.join(logdir, 'stderr'), 'a', 0)
22 path = os.path.join(logdir, filename)
36 started_file_path = os.path.join(logdir, 'started')
40 raise Exception("autotestd failed to start in %s" % logdir)
45 exit_code_file = open(os.path.join(logdir, 'exit_code'))
Dautotestd10 logdir = sys.argv[1] variable
20 stdout = open(os.path.join(logdir, 'stdout'), 'a', 0)
21 stderr = open(os.path.join(logdir, 'stderr'), 'a', 0)
39 exit_file = open(os.path.join(logdir, 'exit_code'), 'w', 0)
43 open(os.path.join(logdir, 'started'), 'w').close()
Dsite_sysinfo.py23 class logdir(base_sysinfo.loggable): class
29 super(logdir, self).__init__(directory, log_in_keyval=False)
58 if isinstance(other, logdir):
138 class diffable_logdir(logdir):
148 def __init__(self, directory, excludes=logdir.DEFAULT_EXCLUDES,
274 logdir_temp = logdir(self.dir)
278 class purgeable_logdir(logdir):
280 def __init__(self, directory, excludes=logdir.DEFAULT_EXCLUDES):
330 excludes=logdir.DEFAULT_EXCLUDES + (crash_exclude_string,)))
334 excludes=logdir.DEFAULT_EXCLUDES + (crash_exclude_string,)))
[all …]
/external/tensorflow/tensorflow/python/training/
Dsupervisor_test.py98 logdir = self._test_dir("basics")
101 sv = supervisor.Supervisor(logdir=logdir)
109 logdir = self._test_dir("managed_session")
112 sv = supervisor.Supervisor(logdir=logdir)
120 logdir = self._test_dir("managed_user_error")
123 sv = supervisor.Supervisor(logdir=logdir)
138 logdir = self._test_dir("managed_out_of_range")
141 sv = supervisor.Supervisor(logdir=logdir)
156 logdir = self._test_dir("managed_not_keep_summary_writer")
162 sv = supervisor.Supervisor(logdir=logdir, summary_op=None)
[all …]
Dbasic_loops_test.py43 logdir = _test_dir("basic_train_loop")
44 sv = supervisor.Supervisor(logdir=logdir)
62 logdir = _test_dir("basic_train_loop_exception_aborts")
63 sv = supervisor.Supervisor(logdir=logdir)
79 logdir = _test_dir("basic_train_loop_exception_aborts")
80 sv = supervisor.Supervisor(logdir=logdir)
/external/tensorflow/tensorflow/python/kernel_tests/
Dsummary_ops_test.py57 logdir = self.get_temp_dir()
59 with summary_ops.create_file_writer_v2(logdir).as_default():
62 events = events_from_logdir(logdir)
70 logdir = self.get_temp_dir()
72 writer = summary_ops.create_file_writer_v2(logdir)
79 events = events_from_logdir(logdir)
87 logdir = self.get_temp_dir()
91 with summary_ops.create_file_writer_v2(logdir).as_default():
96 events = events_from_logdir(logdir)
110 logdir = self.get_temp_dir()
[all …]
/external/tensorflow/tensorflow/contrib/summary/
Dsummary_ops_graph_test.py47 logdir = self.get_temp_dir()
48 writer = summary_ops.create_file_writer(logdir, max_queue=0)
60 self.assertTrue(gfile.Exists(logdir))
63 logdir = self.get_temp_dir()
64 writer = summary_ops.create_file_writer(logdir, max_queue=0)
70 events = summary_test_util.events_from_logdir(logdir)
75 logdir = self.get_temp_dir()
76 writer = summary_ops.create_file_writer(logdir, max_queue=0)
83 events = summary_test_util.events_from_logdir(logdir)
89 logdir = self.get_temp_dir()
[all …]
Dsummary_ops_test.py73 logdir = tempfile.mkdtemp()
75 logdir, max_queue=0,
84 self.assertTrue(gfile.Exists(logdir))
89 logdir = self.get_temp_dir()
91 logdir, max_queue=0,
101 logdir = tempfile.mkdtemp()
103 logdir, max_queue=0,
111 events = summary_test_util.events_from_logdir(logdir)
117 logdir = tempfile.mkdtemp()
119 logdir, max_queue=0,
[all …]
Dsummary_test_util.py73 def events_from_logdir(logdir): argument
85 assert gfile.Exists(logdir)
86 files = gfile.ListDirectory(logdir)
88 return events_from_file(os.path.join(logdir, files[0]))
/external/curl/tests/
Dserverhelp.pm159 my ($logdir, $proto, $ipver, $idnum) = @_;
162 return "${logdir}/". servername_canon($proto, $ipver, $idnum) ."$trailer";
170 my ($logdir, $proto, $ipver, $idnum) = @_;
172 return "${logdir}/". servername_canon($proto, $ipver, $idnum) ."$trailer";
180 my ($logdir, $proto, $ipver, $idnum) = @_;
182 return "${logdir}/". servername_canon($proto, $ipver, $idnum) ."$trailer";
190 my ($logdir, $proto, $ipver, $idnum) = @_;
192 return "${logdir}/". servername_canon($proto, $ipver, $idnum) ."$trailer";
212 my ($logdir, $proto, $ipver, $idnum) = @_;
216 return "${logdir}/". servername_canon($proto, $ipver, $idnum) ."$trailer";
[all …]
Dobjnames-test10.sh62 logdir=log
65 list_c=$logdir/${tstnum}_list_c
66 list_obj=$logdir/${tstnum}_list_obj
67 list_obj_c=$logdir/${tstnum}_list_obj_c
68 list_obj_uniq=$logdir/${tstnum}_list_obj_uniq
Dobjnames-test08.sh62 logdir=log
65 list_c=$logdir/${tstnum}_list_c
66 list_obj=$logdir/${tstnum}_list_obj
67 list_obj_c=$logdir/${tstnum}_list_obj_c
68 list_obj_uniq=$logdir/${tstnum}_list_obj_uniq
/external/tensorflow/tensorflow/python/keras/
Dcallbacks_test.py984 def list_summaries(logdir): argument
1002 for (dirpath, dirnames, filenames) in os.walk(logdir):
1027 container.add(_ObservedSummary(logdir=dirpath, tag=tag))
1037 self.logdir = os.path.join(self.get_temp_dir(), 'tb')
1038 self.train_dir = os.path.join(self.logdir, 'train')
1039 self.validation_dir = os.path.join(self.logdir, 'validation')
1067 summary_file = list_summaries(logdir='.')
1072 _ObservedSummary(logdir=train_dir, tag='epoch_loss'),
1073 _ObservedSummary(logdir=validation_dir, tag='epoch_loss'),
1079 tb_cbk = keras.callbacks.TensorBoard(self.logdir)
[all …]
/external/tensorflow/tensorflow/python/eager/
Dprofiler.py115 def maybe_create_event_file(logdir): argument
124 for file_name in gfile.ListDirectory(logdir):
129 compat.as_bytes(os.path.join(logdir, 'events')))
133 def save(logdir, result): argument
141 logdir, 'plugins', 'profile',
144 maybe_create_event_file(logdir)
181 def __init__(self, logdir): argument
182 self._logdir = logdir
Dprofiler_test.py51 logdir = self.get_temp_dir()
54 profiler.save(logdir, profile_result)
55 file_list = gfile.ListDirectory(logdir)
57 for file_name in gfile.ListDirectory(logdir):
58 if gfile.IsDirectory(os.path.join(logdir, file_name)):
/external/tensorflow/tensorflow/python/summary/writer/
Dwriter_test.py448 logdir = self.get_temp_dir()
449 fw = self._FileWriter(logdir)
451 plugin_dir = os.path.join(logdir, writer._PLUGINS_DIR, "example")
481 logdir = self.get_temp_dir()
484 writer1 = writer.FileWriter(session=sess, logdir=logdir)
489 writer2 = writer.FileWriter(session=sess, logdir=logdir)
494 writer3 = writer.FileWriter(session=sess, logdir=logdir + "-other")
501 writer4 = writer.FileWriter(session=other_sess, logdir=logdir)
506 writer5 = writer.FileWriter(session=sess, logdir=logdir)
510 event_paths = iter(sorted(glob.glob(os.path.join(logdir, "event*"))))
[all …]
Dwriter_cache.py51 def get(logdir): argument
61 if logdir not in FileWriterCache._cache:
62 FileWriterCache._cache[logdir] = FileWriter(
63 logdir, graph=ops.get_default_graph())
64 return FileWriterCache._cache[logdir]
/external/autotest/server/samples/
Drun_test.srv4 logdir = None
14 results_dir = os.path.join(logdir, client)
19 global test, logdir, args
32 logdir = value
34 if test is None or logdir is None:
38 print "Going to launch %s on %r with log dir of %s." % (test, machines, logdir)
/external/tensorflow/tensorflow/python/framework/
Dgraph_io.py31 def write_graph(graph_or_graph_def, logdir, name, as_text=True): argument
66 if not file_io.file_exists(logdir) and not logdir.startswith('gs:'):
67 file_io.recursive_create_dir(logdir)
68 path = os.path.join(logdir, name)
/external/tensorflow/tensorflow/core/profiler/rpc/client/
Dcapture_profile.cc83 Status Profile(const string& service_addr, const string& logdir, in Profile() argument
104 TF_CHECK_OK(WriteTensorboardTPUProfile(logdir, session_id, "", response, in Profile()
168 Status MaybeCreateEmptyEventFile(const tensorflow::string& logdir) { in MaybeCreateEmptyEventFile() argument
173 TF_RETURN_IF_ERROR(Env::Default()->GetChildren(logdir, &children)); in MaybeCreateEmptyEventFile()
179 EventsWriter event_writer(io::JoinPath(logdir, "events")); in MaybeCreateEmptyEventFile()
187 const tensorflow::string& logdir, in StartTracing() argument
195 io::JoinPath(logdir, kProfilePluginDirectory); in StartTracing()
199 TF_RETURN_IF_ERROR(MaybeCreateEmptyEventFile(logdir)); in StartTracing()
209 status = Profile(service_addr, logdir, duration_ms, repository_root, in StartTracing()
/external/tensorflow/tensorflow/contrib/eager/python/examples/linear_regression/
Dlinear_regression.py62 def fit(model, dataset, optimizer, verbose=False, logdir=None): argument
78 if logdir:
81 summary_writer = tf.contrib.summary.create_file_writer(logdir)
91 if logdir:
142 fit(model, dataset, optimizer, verbose=True, logdir=FLAGS.logdir)
/external/tensorflow/tensorflow/contrib/tpu/profiler/pip_package/cloud_tpu_profiler/
Dmain.py119 if not FLAGS.logdir and not FLAGS.monitoring_level:
123 if FLAGS.logdir is not None:
124 logdir = os.path.expandvars(os.path.expanduser(FLAGS.logdir))
125 cmd.append('--logdir=' + logdir)
/external/tensorflow/tensorflow/python/ops/
Dsummary_ops_v2.py335 def create_file_writer_v2(logdir, argument
353 if logdir is None:
362 logdir=logdir,
366 logdir = ops.convert_to_tensor(logdir, dtype=dtypes.string)
387 logdir=logdir,
395 def create_file_writer(logdir, argument
420 if logdir is None:
422 logdir = str(logdir)
431 name = "logdir:" + logdir
436 logdir=logdir,

12345