/external/tensorflow/tensorflow/core/profiler/internal/ |
D | print_model_analysis.cc | 86 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()
|
D | print_model_analysis.h | 34 bool NewProfiler(const string* graph, const string* op_log); 39 const string* op_log); 60 const string* op_log, const string* command,
|
D | tfprof_stats.cc | 51 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()
|
D | tfprof_stats.h | 56 std::unique_ptr<OpLogProto> op_log, 93 void AddOpLogProto(std::unique_ptr<OpLogProto> op_log);
|
/external/tensorflow/tensorflow/python/profiler/ |
D | model_analyzer.py | 166 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 …]
|
D | tfprof_logger.py | 144 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/ |
D | tfprof_logger.py | 28 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)
|
D | model_analyzer.py | 115 op_log=None, argument 118 return _profile(graph, run_meta, op_log, tfprof_cmd, tfprof_options)
|
/external/tensorflow/tensorflow/core/profiler/g3doc/ |
D | command_line.md | 52 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/ |
D | tensorflow.profiler.pbtxt | 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…
|
D | tensorflow.profiler.-profiler.pbtxt | 7 …argspec: "args=[\'self\', \'graph\', \'op_log\'], varargs=None, keywords=None, defaults=[\'None\',…
|
/external/tensorflow/tensorflow/core/profiler/ |
D | profiler.cc | 217 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()
|