Home
last modified time | relevance | path

Searched refs:wall_time (Results 1 – 25 of 90) sorted by relevance

1234

/external/tensorflow/tensorflow/core/debug/
Ddebug_io_utils_test.cc112 const uint64 wall_time = env_->NowMicros(); in TEST_F() local
118 kDebugNodeKey, *tensor_a_, wall_time, test_dir, &dump_file_path)); in TEST_F()
124 ASSERT_GE(wall_time, event.wall_time()); in TEST_F()
155 const uint64 wall_time = env_->NowMicros(); in TEST_F() local
158 Status s = DebugFileIO::DumpTensorToDir(kDebugNodeKey, *tensor_b_, wall_time, in TEST_F()
166 ASSERT_GE(wall_time, event.wall_time()); in TEST_F()
228 const uint64 wall_time = env_->NowMicros(); in TEST_F() local
231 Status s = DebugFileIO::DumpTensorToDir(kDebugNodeKey, *tensor_a_, wall_time, in TEST_F()
251 const uint64 wall_time = env_->NowMicros(); in TEST_F() local
261 DebugFileIO::GetDumpFilePath(dump_root, kDebugNodeKey, wall_time)); in TEST_F()
[all …]
Ddebug_grpc_io_utils_test.cc211 const uint64 wall_time = Env::Default()->NowMicros(); in TEST_F() local
216 tensors[this_count], wall_time, urls); in TEST_F()
271 const uint64 wall_time = Env::Default()->NowMicros(); in TEST_F() local
279 TF_ASSERT_OK(DebugIO::PublishDebugTensor(kDebugNodeKey, tensor, wall_time, in TEST_F()
319 const uint64 wall_time = Env::Default()->NowMicros(); in TEST_F() local
329 TF_ASSERT_OK(DebugIO::PublishDebugTensor(kDebugNodeKey, tensor, wall_time, in TEST_F()
/external/tensorflow/tensorflow/python/kernel_tests/
Ddecode_jpeg_op_test.py130 wall_time=duration_decode)
134 wall_time=duration_decode_crop)
138 wall_time=duration_decode_after_crop)
154 wall_time=duration_decode)
158 wall_time=duration_decode_crop)
162 wall_time=duration_decode_after_crop)
180 wall_time=duration_decode)
184 wall_time=duration_decode_crop)
188 wall_time=duration_decode_after_crop)
/external/tensorflow/tensorflow/python/platform/
Dbenchmark.py55 name, iters=None, cpu_time=None, wall_time=None, argument
77 wall_time if wall_time is not None else -1, cpu_time if
88 if wall_time is not None:
89 entry.wall_time = wall_time
169 wall_time=None, argument
187 name=name, iters=iters, cpu_time=cpu_time, wall_time=wall_time,
/external/gemmlowp/meta/
Dtest_transform_benchmark.cc66 double wall_time = time() - start; in run_benchmark() local
68 std::cout << "Avg: " << (wall_time / repetitions) << std::endl; in run_benchmark()
69 std::cout << "Perf: " << static_cast<std::int64_t>(ops / wall_time) << "/s." in run_benchmark()
86 wall_time = time() - start; in run_benchmark()
88 std::cout << "Avg: " << (wall_time / repetitions) << std::endl; in run_benchmark()
89 std::cout << "Perf: " << static_cast<std::int64_t>(ops / wall_time) << "/s." in run_benchmark()
/external/tensorflow/tensorflow/python/summary/writer/
Dwriter_test.py82 self._assertRecent(ev.wall_time)
87 self._assertRecent(ev.wall_time)
95 self._assertRecent(ev.wall_time)
133 self._assertRecent(ev.wall_time)
138 self._assertRecent(ev.wall_time)
144 self._assertRecent(ev.wall_time)
152 self._assertRecent(ev.wall_time)
160 self._assertRecent(ev.wall_time)
168 self._assertRecent(ev.wall_time)
253 self._assertRecent(ev.wall_time)
[all …]
/external/tensorflow/tensorflow/contrib/eager/python/examples/l2hmc/
Dl2hmc_test.py181 wall_time = (time.time() - start_time) / hparams.n_iters
182 examples_per_sec = hparams.n_samples / wall_time
189 wall_time=wall_time)
229 wall_time = (time.time() - start_time) / hparams.n_iters
230 examples_per_sec = hparams.n_samples / wall_time
238 wall_time=wall_time)
/external/tensorflow/tensorflow/contrib/eager/python/examples/linear_regression/
Dlinear_regression_graph_test.py73 wall_time = time.time() - start_time
75 examples_per_sec = num_epochs * num_batches * batch_size / wall_time
81 wall_time=wall_time)
Dlinear_regression_test.py108 wall_time = time.time() - start_time
110 examples_per_sec = num_epochs * num_batches * batch_size / wall_time
116 wall_time=wall_time)
/external/tensorflow/tensorflow/python/debug/lib/
Dgrpc_debug_test_server.py105 for graph_def, device_name, wall_time in zip(
109 self._write_graph_def(graph_def, device_name, wall_time)
117 def on_graph_def(self, graph_def, device_name, wall_time): argument
127 self._write_graph_def(graph_def, device_name, wall_time)
131 self._cached_graph_def_wall_times.append(wall_time)
178 "_%d" % event.wall_time)
183 def _write_graph_def(self, graph_def, device_name, wall_time): argument
186 event = event_pb2.Event(graph_def=encoded_graph_def, wall_time=wall_time)
191 debug_data.HASH_TAG + "%d_%d" % (graph_hash, wall_time))
Dgrpc_debug_server.py72 def on_graph_def(self, graph_def, device_name, wall_time): argument
259 timestamp = int(event.wall_time)
314 wall_time = int(graph_def_hash_device_timestamp.split(b",")[2])
319 return graph_def, device_name, wall_time
/external/tensorflow/tensorflow/python/data/benchmarks/
Dbenchmark_base.py83 wall_time = self.run_benchmark(dataset, num_elements, iters)
89 wall_time=wall_time, iters=iters, name=name, extras=extras)
/external/tensorflow/tensorflow/python/client/
Dsession_benchmark.py66 self.report_benchmark(iters=1, wall_time=np.median(times), name=name)
94 self.report_benchmark(iters=1, wall_time=np.median(times), name=name)
123 self.report_benchmark(iters=1, wall_time=np.median(times), name=name)
149 self.report_benchmark(iters=1, wall_time=np.median(times), name=name)
176 self.report_benchmark(iters=1, wall_time=np.median(times), name=name)
/external/tensorflow/tensorflow/contrib/eager/python/examples/rnn_ptb/
Drnn_ptb_test.py64 wall_time = (time.time() - start) / num_iters
67 examples_per_sec = batch_size / wall_time
70 wall_time=wall_time,
Drnn_ptb_graph_test.py66 wall_time = (time.time() - start) / num_iters
69 examples_per_sec = batch_size / wall_time
72 wall_time=wall_time,
/external/tensorflow/tensorflow/python/data/experimental/benchmarks/
Doptimize_benchmark.py72 wall_time=median_wall_time,
113 wall_time=median_wall_time,
154 wall_time=median_wall_time,
Dautotune_benchmark.py66 wall_time=np.median(deltas),
105 wall_time=np.median(deltas),
143 wall_time=np.median(deltas),
203 wall_time=np.median(deltas),
Dmap_and_batch_benchmark.py94 iters=iters, wall_time=median_wall_time,
163 wall_time=np.median(chained_deltas),
189 wall_time=np.median(fused_deltas),
Dchoose_fastest_benchmark.py80 iters=n, wall_time=median_wall_time, name=name + "_first_%d" % n)
101 self.report_benchmark(iters=100, wall_time=median_wall_time, name=name)
Dunbatch_benchmark.py66 wall_time=median_wall_time,
103 wall_time=median_wall_time,
/external/tensorflow/tensorflow/core/util/
Dreporter.cc40 Status TestReporter::Benchmark(int64 iters, double cpu_time, double wall_time, in Benchmark() argument
45 benchmark_entry_.set_wall_time(wall_time / iters); in Benchmark()
Devents_writer_test.cc38 void WriteSimpleValue(EventsWriter* writer, double wall_time, int64 step, in WriteSimpleValue() argument
41 event.set_wall_time(wall_time); in WriteSimpleValue()
78 EXPECT_LT(fabs(actual.wall_time() - current_time), 5); in VerifyFile()
/external/tensorflow/tensorflow/contrib/rnn/python/kernel_tests/
Dlstm_ops_test.py554 wall_time = benchmarking.seconds_per_run(outputs, sess, iters)
562 wall_time
573 wall_time=wall_time,
618 wall_time = benchmarking.seconds_per_run(grads, sess, iters)
625 config["use_gpu"], wall_time
636 wall_time=wall_time,
/external/tensorflow/tensorflow/core/summary/
Dsummary_db_writer.cc1025 return meta_.SetGraph(db_, now, e->wall_time(), std::move(graph)); in MigrateGraph()
1056 TF_RETURN_IF_ERROR(meta_.GetTagId(db_, now, e->wall_time(), s->tag(), in MigrateTensor()
1058 return run_.Append(db_, tag_id, e->step(), now, e->wall_time(), t); in MigrateTensor()
1069 TF_RETURN_IF_ERROR(meta_.GetTagId(db_, now, e->wall_time(), s->tag(), in MigrateScalar()
1071 return run_.Append(db_, tag_id, e->step(), now, e->wall_time(), t); in MigrateScalar()
1100 TF_RETURN_IF_ERROR(meta_.GetTagId(db_, now, e->wall_time(), s->tag(), in MigrateHistogram()
1102 return run_.Append(db_, tag_id, e->step(), now, e->wall_time(), t); in MigrateHistogram()
1114 TF_RETURN_IF_ERROR(meta_.GetTagId(db_, now, e->wall_time(), s->tag(), in MigrateImage()
1116 return run_.Append(db_, tag_id, e->step(), now, e->wall_time(), t); in MigrateImage()
1127 TF_RETURN_IF_ERROR(meta_.GetTagId(db_, now, e->wall_time(), s->tag(), in MigrateAudio()
[all …]
/external/tensorflow/tensorflow/python/ops/
Dcontrol_flow_ops_benchmark.py71 wall_time=time.time() - start_time,
94 wall_time=time.time() - start_time,

1234