Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/profiler/internal/
Drun_metadata_test.py41 def _extract_node(run_meta, node_name): argument
43 for dev_stat in run_meta.step_stats.dev_stats:
82 sess.graph, run_meta=run_metadata, options=opts)
96 run_meta = config_pb2.RunMetadata()
101 run_metadata=run_meta)
107 tfprof_node = model_analyzer.profile(sess.graph, run_meta, options=opts)
108 return tfprof_node, run_meta
128 tfprof_node, run_meta = _run_model()
132 ret = _extract_node(run_meta, 'MatMul')
143 _, run_meta = _run_model()
[all …]
/external/tensorflow/tensorflow/python/profiler/
Dmodel_analyzer_test.py163 run_meta = config_pb2.RunMetadata()
168 run_metadata=run_meta)
170 model_analyzer.profile(sess.graph, run_meta, options=opts)
190 run_meta = config_pb2.RunMetadata()
195 run_metadata=run_meta)
197 model_analyzer.profile(sess.graph, run_meta, cmd='code', options=opts)
278 run_meta = config_pb2.RunMetadata()
283 run_metadata=run_meta)
286 sess.graph, run_meta, cmd='code', options=opts)
306 run_meta = config_pb2.RunMetadata()
[all …]
Dprofiler_test.py51 run_meta = config_pb2.RunMetadata()
55 run_metadata=run_meta)
58 profiler.add_step(1, run_meta)
64 sess.graph, cmd='graph', run_meta=run_meta, options=opts)
74 sess.graph, cmd='scope', run_meta=run_meta, options=opts)
84 sess.graph, cmd='code', run_meta=run_meta, options=opts)
94 sess.graph, cmd='op', run_meta=run_meta, options=opts)
100 sess.graph, cmd='scope', run_meta=run_meta, options=opts)
116 run_meta = config_pb2.RunMetadata()
120 run_metadata=run_meta)
[all …]
Dtfprof_logger.py35 def _fill_missing_graph_shape(graph, run_meta): argument
37 for dev_stat in run_meta.step_stats.dev_stats:
73 def _get_logged_ops(graph, run_meta=None, add_trace=True, argument
87 if run_meta:
88 graph = _fill_missing_graph_shape(graph, run_meta)
136 if op_missing_shape > 0 and not run_meta:
142 def merge_default_with_oplog(graph, op_log=None, run_meta=None, argument
165 graph, run_meta, add_trace=add_trace, add_trainable_var=add_trainable_var)
190 def write_op_log(graph, log_dir, op_log=None, run_meta=None, add_trace=True): argument
213 op_log = merge_default_with_oplog(graph, op_log, run_meta, add_trace)
Dmodel_analyzer.py185 def add_step(self, step, run_meta): argument
196 self._graph, run_meta=run_meta)
200 run_meta.SerializeToString(),
314 run_meta=None, argument
351 graph, op_log, run_meta, add_trace=cmd == 'code')
356 run_meta_str = run_meta.SerializeToString() if run_meta else b''
388 def advise(graph=None, run_meta=None, options=_DEFAULT_ADVISE_OPTIONS): argument
413 graph, None, run_meta, add_trace=True)
416 run_meta_str = run_meta.SerializeToString() if run_meta else b''
/external/tensorflow/tensorflow/core/profiler/internal/
Dprint_model_analysis.cc124 double AddStep(int64_t step, const string* graph, const string* run_meta, in AddStep() argument
138 CHECK(run_meta && !run_meta->empty()); in AddStep()
141 run_meta_ptr->ParseFromString(*run_meta); in AddStep()
173 string PrintModelAnalysis(const string* graph, const string* run_meta, in PrintModelAnalysis() argument
184 if (run_meta && !run_meta->empty()) { in PrintModelAnalysis()
186 run_meta_ptr->ParseFromString(*run_meta); in PrintModelAnalysis()
Dtfprof_stats.cc52 std::unique_ptr<RunMetadata> run_meta, in TFStats() argument
61 if (run_meta && run_meta->has_step_stats()) { in TFStats()
62 AddRunMeta(0, std::move(run_meta)); in TFStats()
265 void TFStats::AddRunMeta(int64_t step, std::unique_ptr<RunMetadata> run_meta) { in AddRunMeta() argument
266 if (!run_meta || !run_meta->has_step_stats()) { in AddRunMeta()
278 for (const auto& dev_stat : run_meta->step_stats().dev_stats()) { in AddRunMeta()
Dprint_model_analysis.h37 const std::string* run_meta, const std::string* op_log);
58 const std::string* run_meta,
Dtfprof_stats.h54 std::unique_ptr<RunMetadata> run_meta,
89 void AddRunMeta(int64_t step, std::unique_ptr<RunMetadata> run_meta);
/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/v1/
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/python/util/
Dtfprof_wrapper.cc26 [](const std::string* graph, const std::string* run_meta, in PYBIND11_MODULE()
30 graph, run_meta, op_log, command, options); in PYBIND11_MODULE()
/external/tensorflow/tensorflow/core/profiler/
Dprofiler.cc232 std::unique_ptr<RunMetadata> run_meta(new RunMetadata()); in Run() local
233 s = ReadProtoFile(Env::Default(), run_meta_files[i], run_meta.get(), in Run()
240 tf_stat->AddRunMeta(i, std::move(run_meta)); in Run()
/external/tensorflow/tensorflow/core/profiler/internal/testdata/
DBUILD17 "run_meta",
/external/tensorflow/tensorflow/python/ops/
Dsummary_ops_v2.py1375 run_meta = context.context().export_run_metadata()
1378 run_metadata_graphs(name, run_meta, step)
1380 run_metadata(name, run_meta, step)