Home
last modified time | relevance | path

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

12345

/external/autotest/client/bin/
Dsite_sysinfo_unittest.py125 logdir = site_sysinfo.logdir(self.from_dir)
126 logdir.run(self.to_dir)
136 logdir = site_sysinfo.logdir(self.from_dir)
137 logdir.run(self.to_dir)
158 logdir = site_sysinfo.logdir(from_symlink)
159 logdir.run(self.to_dir)
170 logdir = site_sysinfo.logdir(self.from_dir)
171 logdir.run(self.to_dir)
186 logdir = site_sysinfo.logdir(exclude_pattern_dir)
187 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.py22 class logdir(base_sysinfo.loggable): class
28 super(logdir, self).__init__(directory, log_in_keyval=False)
57 if isinstance(other, logdir):
137 class diffable_logdir(logdir):
147 def __init__(self, directory, excludes=logdir.DEFAULT_EXCLUDES,
267 logdir_temp = logdir(self.dir)
271 class purgeable_logdir(logdir):
273 def __init__(self, directory, excludes=logdir.DEFAULT_EXCLUDES):
323 excludes=logdir.DEFAULT_EXCLUDES + (crash_exclude_string,)))
327 excludes=logdir.DEFAULT_EXCLUDES + (crash_exclude_string,)))
[all …]
/external/tensorflow/tensorflow/python/training/
Dsupervisor_test.py96 logdir = self._test_dir("basics")
99 sv = supervisor.Supervisor(logdir=logdir)
107 logdir = self._test_dir("managed_session")
110 sv = supervisor.Supervisor(logdir=logdir)
118 logdir = self._test_dir("managed_user_error")
121 sv = supervisor.Supervisor(logdir=logdir)
136 logdir = self._test_dir("managed_out_of_range")
139 sv = supervisor.Supervisor(logdir=logdir)
154 logdir = self._test_dir("managed_not_keep_summary_writer")
160 sv = supervisor.Supervisor(logdir=logdir, summary_op=None)
[all …]
Dbasic_loops_test.py41 logdir = _test_dir("basic_train_loop")
42 sv = supervisor.Supervisor(logdir=logdir)
59 logdir = _test_dir("basic_train_loop_exception_aborts")
60 sv = supervisor.Supervisor(logdir=logdir)
75 logdir = _test_dir("basic_train_loop_exception_aborts")
76 sv = supervisor.Supervisor(logdir=logdir)
/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 …]
/external/tensorflow/tensorflow/contrib/summary/
Dsummary_ops_graph_test.py66 logdir = tempfile.mkdtemp()
67 with summary_ops.create_file_writer(logdir, max_queue=0,
77 events = summary_test_util.events_from_logdir(logdir)
84 events = summary_test_util.events_from_logdir(logdir)
91 logdir = tempfile.mkdtemp()
93 logdir, max_queue=0,
105 events = summary_test_util.events_from_logdir(logdir)
112 logdir = tempfile.mkdtemp()
114 logdir, max_queue=0,
127 events = summary_test_util.events_from_logdir(logdir)
Dsummary_ops_test.py68 logdir = tempfile.mkdtemp()
70 logdir, max_queue=0,
79 self.assertTrue(gfile.Exists(logdir))
83 logdir = tempfile.mkdtemp()
85 logdir, max_queue=0,
93 events = summary_test_util.events_from_logdir(logdir)
99 logdir = tempfile.mkdtemp()
101 logdir, max_queue=0,
106 events = summary_test_util.events_from_logdir(logdir)
112 logdir = tempfile.mkdtemp()
[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/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/summary/writer/
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/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/contrib/eager/python/examples/linear_regression/
Dlinear_regression.py70 def fit(model, dataset, optimizer, verbose=False, logdir=None): argument
87 if logdir:
90 summary_writer = tf.contrib.summary.create_file_writer(logdir)
100 if logdir:
150 fit(model, dataset, optimizer, verbose=True, logdir=FLAGS.logdir)
/external/autotest/server/lib/
Dstatus_history.py116 def get_log_url(cls, afe_hostname, logdir): argument
131 logdir,
136 def get_gs_url(cls, logdir): argument
148 return os.path.join(utils.get_offload_gsuri(), logdir)
187 def logdir(self): member in _JobEvent
317 def logdir(self): member in _SpecialTaskEvent
325 return _SpecialTaskEvent.get_log_url(self._afe_hostname, self.logdir)
330 return _SpecialTaskEvent.get_gs_url(self.logdir)
413 def logdir(self): member in _TestJobEvent
419 return _TestJobEvent.get_log_url(self._afe_hostname, self.logdir)
[all …]
/external/curl/lib/
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/contrib/tpu/profiler/pip_package/cloud_tpu_profiler/
Dmain.py85 if not FLAGS.logdir:
88 logdir = os.path.expandvars(os.path.expanduser(FLAGS.logdir))
90 cmd.append('--logdir=' + logdir)
/external/tensorflow/tensorflow/contrib/tensorboard/db/
Dsummary_file_writer.cc39 Status Initialize(const string& logdir, const string& filename_suffix) { in Initialize() argument
40 const Status is_dir = env_->IsDirectory(logdir); in Initialize()
45 TF_RETURN_IF_ERROR(env_->RecursivelyCreateDir(logdir)); in Initialize()
49 tensorflow::MakeUnique<EventsWriter>(io::JoinPath(logdir, "events")); in Initialize()
176 const string& logdir, in CreateSummaryFileWriter() argument
180 const Status s = w->Initialize(logdir, filename_suffix); in CreateSummaryFileWriter()
/external/tensorflow/tensorflow/contrib/tensorboard/plugins/projector/
D__init__.py52 logdir = summary_writer.get_logdir()
55 if logdir is None:
64 os.path.join(logdir, 'projector_config.pbtxt'), config_pbtxt)
/external/tensorflow/tensorflow/contrib/slim/python/slim/
Devaluation.py145 logdir, argument
194 log_dir=logdir, summary_op=summary_op, feed_dict=summary_op_feed_dict))
217 logdir, argument
277 log_dir=logdir, summary_op=summary_op, feed_dict=summary_op_feed_dict))
/external/python/cpython2/Lib/
Dcgitb.py262 def __init__(self, display=1, logdir=None, context=5, file=None, argument
265 self.logdir = logdir # log tracebacks to files if not None
295 if self.logdir is not None:
297 (fd, path) = tempfile.mkstemp(suffix=suffix, dir=self.logdir)
316 def enable(display=1, logdir=None, context=5, format="html"): argument
322 sys.excepthook = Hook(display=display, logdir=logdir,
/external/python/cpython3/Lib/
Dcgitb.py259 def __init__(self, display=1, logdir=None, context=5, file=None, argument
262 self.logdir = logdir # log tracebacks to files if not None
292 if self.logdir is not None:
294 (fd, path) = tempfile.mkstemp(suffix=suffix, dir=self.logdir)
312 def enable(display=1, logdir=None, context=5, format="html"): argument
318 sys.excepthook = Hook(display=display, logdir=logdir,
/external/tensorflow/tensorflow/contrib/eager/python/
Devaluator_test.py86 logdir = tempfile.mkdtemp()
88 e.all_metric_results(logdir)
90 events = summary_test_util.events_from_logdir(logdir)
133 logdir = tempfile.mkdtemp()
135 ds, summary_logdir=logdir)
139 events = summary_test_util.events_from_logdir(logdir)

12345