Home
last modified time | relevance | path

Searched refs:run_meta (Results 1 – 21 of 21) sorted by relevance

/external/tensorflow/tensorflow/python/profiler/internal/
Drun_metadata_test.py43 def _extract_node(run_meta, node_name): argument
45 for dev_stat in run_meta.step_stats.dev_stats:
81 run_meta=run_metadata,
92 run_meta = config_pb2.RunMetadata()
96 run_metadata=run_meta)
103 sess.graph, run_meta, options=opts)
104 return tfprof_node, run_meta
116 tfprof_node, run_meta = _run_model()
120 ret = _extract_node(run_meta, 'MatMul')
122 self.assertEqual(len(ret['gpu:0/stream:all']), 1, '%s' % run_meta)
[all …]
/external/tensorflow/tensorflow/python/profiler/
Dmodel_analyzer_test.py160 run_meta = config_pb2.RunMetadata()
164 run_metadata=run_meta)
167 sess.graph, run_meta, options=opts)
186 run_meta = config_pb2.RunMetadata()
190 run_metadata=run_meta)
193 sess.graph, run_meta, cmd='code', options=opts)
276 run_meta = config_pb2.RunMetadata()
280 run_metadata=run_meta)
283 sess.graph, run_meta, cmd='code', options=opts)
304 run_meta = config_pb2.RunMetadata()
[all …]
Dprofiler_test.py53 run_meta = config_pb2.RunMetadata()
57 run_metadata=run_meta)
60 profiler.add_step(1, run_meta)
66 sess.graph, cmd='graph', run_meta=run_meta, options=opts)
76 sess.graph, cmd='scope', run_meta=run_meta, options=opts)
86 sess.graph, cmd='code', run_meta=run_meta, options=opts)
96 sess.graph, cmd='op', run_meta=run_meta, options=opts)
102 sess.graph, cmd='scope', run_meta=run_meta, options=opts)
118 run_meta = config_pb2.RunMetadata()
122 run_metadata=run_meta)
[all …]
Dmodel_analyzer.py189 def add_step(self, step, run_meta): argument
200 self._graph, run_meta=run_meta)
204 run_meta.SerializeToString(),
311 run_meta=None, argument
347 graph, op_log, run_meta, add_trace=cmd == 'code')
352 run_meta_str = run_meta.SerializeToString() if run_meta else b''
385 def advise(graph=None, run_meta=None, options=_DEFAULT_ADVISE_OPTIONS): argument
409 graph, None, run_meta, add_trace=True)
412 run_meta_str = run_meta.SerializeToString() if run_meta else b''
Dtfprof_logger.py39 def _fill_missing_graph_shape(graph, run_meta): argument
41 for dev_stat in run_meta.step_stats.dev_stats:
77 def _get_logged_ops(graph, run_meta=None, add_trace=True, argument
91 if run_meta:
92 graph = _fill_missing_graph_shape(graph, run_meta)
138 if op_missing_shape > 0 and not run_meta:
144 def merge_default_with_oplog(graph, op_log=None, run_meta=None, argument
167 graph, run_meta, add_trace=add_trace, add_trainable_var=add_trainable_var)
192 def write_op_log(graph, log_dir, op_log=None, run_meta=None, add_trace=True): argument
215 op_log = merge_default_with_oplog(graph, op_log, run_meta, add_trace)
/external/tensorflow/tensorflow/core/profiler/internal/
Dprint_model_analysis.cc123 double AddStep(int64 step, const string* graph, const string* run_meta, in AddStep() argument
137 CHECK(run_meta && !run_meta->empty()); in AddStep()
140 run_meta_ptr->ParseFromString(*run_meta); in AddStep()
172 string PrintModelAnalysis(const string* graph, const string* run_meta, in PrintModelAnalysis() argument
183 if (run_meta && !run_meta->empty()) { in PrintModelAnalysis()
185 run_meta_ptr->ParseFromString(*run_meta); in PrintModelAnalysis()
Dtfprof_stats.cc50 std::unique_ptr<RunMetadata> run_meta, in TFStats() argument
60 if (run_meta && run_meta->has_step_stats()) { in TFStats()
61 AddRunMeta(0, std::move(run_meta)); in TFStats()
263 void TFStats::AddRunMeta(int64 step, std::unique_ptr<RunMetadata> run_meta) { in AddRunMeta() argument
264 if (!run_meta || !run_meta->has_step_stats()) { in AddRunMeta()
276 for (const auto& dev_stat : run_meta->step_stats().dev_stats()) { in AddRunMeta()
Dprint_model_analysis.h38 double AddStep(int64 step, const string* graph, const string* run_meta,
59 string PrintModelAnalysis(const string* graph, const string* run_meta,
Dtfprof_stats.h55 std::unique_ptr<RunMetadata> run_meta,
90 void AddRunMeta(int64 step, std::unique_ptr<RunMetadata> run_meta);
DBUILD207 "testdata/run_meta",
230 "testdata/run_meta",
292 "testdata/run_meta",
/external/tensorflow/tensorflow/contrib/tfprof/
Dmodel_analyzer.py105 def advise(graph, run_meta=None, tfprof_options=_DEFAULT_ADVISE_OPTIONS): argument
106 return _advise(graph, run_meta, tfprof_options)
114 run_meta=None, argument
118 return _profile(graph, run_meta, op_log, tfprof_cmd, tfprof_options)
Dtfprof_logger.py28 def write_op_log(graph, log_dir, op_log=None, run_meta=None, add_trace=True): argument
29 _write_op_log(graph, log_dir, op_log, run_meta, add_trace)
/external/tensorflow/tensorflow/core/profiler/g3doc/
Dpython_api.md79 run_meta=run_metadata,
87 run_meta=run_metadata,
124 run_meta = config_pb2.RunMetadata()
128 run_metadata=run_meta)
130 # Add run_meta of step 1.
131 profiler.add_step(1, run_meta)
139 # Add run_meta of step 2.
148 # Add run_meta of step 3.
Dcommand_line.md40 with tf.gfile.Open(os.path.join(output_dir, "run_meta"), "w") as f:
97 --run_meta_path=run_meta
102 --run_meta_path=run_meta \
108 --run_meta_path=run_meta \
116 --run_meta_path=run_meta \
150 # supported select fields. Availability depends on --[run_meta|checkpoint|op_log]_path.
269 --run_meta_path=/tmp/run_meta
301 sess.graph, /tmp/my_op_log_dir, op_log, run_meta)
Dadvise.md10 run_meta = config_pb2.RunMetadata()
14 run_metadata=run_meta)
15 profiler.add_step(1, run_meta)
22 sess.graph, run_meta=run_metadata)
Dprofile_time.md105 sess.graph, run_meta, cmd='code', options=opts)
/external/tensorflow/tensorflow/tools/api/golden/
Dtensorflow.profiler.pbtxt29 …argspec: "args=[\'graph\', \'run_meta\', \'options\'], varargs=None, keywords=None, defaults=[\'No…
33 …argspec: "args=[\'graph\', \'run_meta\', \'op_log\', \'cmd\', \'options\'], varargs=None, keywords…
37 …argspec: "args=[\'graph\', \'log_dir\', \'op_log\', \'run_meta\', \'add_trace\'], varargs=None, ke…
Dtensorflow.profiler.-profiler.pbtxt11 argspec: "args=[\'self\', \'step\', \'run_meta\'], varargs=None, keywords=None, defaults=None"
/external/tensorflow/tensorflow/cc/profiler/
Dprofiler.cc26 void Profiler::AddStep(int64 step, const RunMetadata& run_meta) { in AddStep() argument
28 *run_meta_ptr = run_meta; in AddStep()
Dprofiler.h67 void AddStep(int64 step, const RunMetadata& run_meta);
/external/tensorflow/tensorflow/core/profiler/
Dprofiler.cc237 std::unique_ptr<RunMetadata> run_meta(new RunMetadata()); in Run() local
238 s = ReadProtoFile(Env::Default(), run_meta_files[i], run_meta.get(), in Run()
245 tf_stat->AddRunMeta(i, std::move(run_meta)); in Run()