Home
last modified time | relevance | path

Searched refs:op_log (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/core/profiler/internal/
Dprint_model_analysis.cc86 bool NewProfiler(const string* graph, const string* op_log) { in NewProfiler() argument
98 if (op_log && !op_log->empty()) { in NewProfiler()
100 if (!op_log_ptr->ParseFromString(*op_log)) { in NewProfiler()
124 const string* op_log) { in AddStep() argument
143 if (op_log && !op_log->empty()) { in AddStep()
146 op_log_ptr->ParseFromString(*op_log); in AddStep()
173 const string* op_log, const string* command, in PrintModelAnalysis() argument
189 if (op_log && !op_log->empty()) { in PrintModelAnalysis()
191 op_log_ptr->ParseFromString(*op_log); in PrintModelAnalysis()
Dprint_model_analysis.h34 bool NewProfiler(const string* graph, const string* op_log);
39 const string* op_log);
60 const string* op_log, const string* command,
Dtfprof_stats.cc51 std::unique_ptr<OpLogProto> op_log, in TFStats() argument
63 AddOpLogProto(std::move(op_log)); in TFStats()
238 void TFStats::AddOpLogProto(std::unique_ptr<OpLogProto> op_log) { in AddOpLogProto() argument
239 if (!op_log) { in AddOpLogProto()
242 for (const auto& entry : op_log->id_to_string()) { in AddOpLogProto()
247 for (const OpLogEntry& entry : op_log->log_entries()) { in AddOpLogProto()
Dtfprof_stats.h56 std::unique_ptr<OpLogProto> op_log,
93 void AddOpLogProto(std::unique_ptr<OpLogProto> op_log);
/external/tensorflow/tensorflow/python/profiler/
Dmodel_analyzer.py166 def __init__(self, graph=None, op_log=None): argument
180 op_log = tfprof_logger.merge_default_with_oplog(
181 self._graph, op_log=op_log)
184 _graph_string(self._graph), op_log.SerializeToString())
199 op_log = tfprof_logger.merge_default_with_oplog(
205 op_log.SerializeToString())
312 op_log=None, argument
346 op_log = tfprof_logger.merge_default_with_oplog(
347 graph, op_log, run_meta, add_trace=cmd == 'code')
359 op_log.SerializeToString(),
[all …]
Dtfprof_logger.py144 def merge_default_with_oplog(graph, op_log=None, run_meta=None, argument
169 if not op_log:
173 for entry in op_log.log_entries:
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)
218 log.write(op_log.SerializeToString())
/external/tensorflow/tensorflow/contrib/tfprof/
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)
Dmodel_analyzer.py115 op_log=None, argument
118 return _profile(graph, run_meta, op_log, tfprof_cmd, tfprof_options)
/external/tensorflow/tensorflow/core/profiler/g3doc/
Dcommand_line.md52 tf.profiler.write_op_log(graph, log_dir, op_log=None)
150 # supported select fields. Availability depends on --[run_meta|checkpoint|op_log]_path.
284 op_log = tfprof_log_pb2.OpLogProto()
285 entry = op_log.log_entries.add()
288 entry = op_log.log_entries.add()
297 sess.graph, /tmp/my_op_log_dir, op_log)
301 sess.graph, /tmp/my_op_log_dir, op_log, run_meta)
305 "--op_log_path=/tmp/my_op_log_dir/op_log"
/external/tensorflow/tensorflow/tools/api/golden/
Dtensorflow.profiler.pbtxt33 …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.pbtxt7 …argspec: "args=[\'self\', \'graph\', \'op_log\'], varargs=None, keywords=None, defaults=[\'None\',…
/external/tensorflow/tensorflow/core/profiler/
Dprofiler.cc217 std::unique_ptr<OpLogProto> op_log(new OpLogProto()); in Run() local
226 if (!ParseProtoUnlimited(op_log.get(), op_log_str)) { in Run()
231 tf_stat.reset(new TFStats(std::move(graph), nullptr, std::move(op_log), in Run()