Home
last modified time | relevance | path

Searched refs:profile_datum (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/python/debug/lib/
Dprofiling.py68 def __init__(self, profile_datum): argument
76 self.total_op_time = profile_datum.op_time
77 self.total_exec_time = profile_datum.exec_time
78 device_and_node = "%s:%s" % (profile_datum.device_name,
79 profile_datum.node_exec_stats.node_name)
82 def add(self, profile_datum): argument
90 self.total_op_time += profile_datum.op_time
91 self.total_exec_time += profile_datum.exec_time
92 device_and_node = "%s:%s" % (profile_datum.device_name,
93 profile_datum.node_exec_stats.node_name)
[all …]
Dsource_utils.py291 for profile_datum in profile_data:
292 if not profile_datum.file_path:
295 if _norm_abs_path(profile_datum.file_path) != source_file_path:
298 if (min_line is not None and profile_datum.line_number < min_line or
299 max_line is not None and profile_datum.line_number >= max_line):
303 not node_name_regex.match(profile_datum.node_exec_stats.node_name)):
306 if op_type_regex and not op_type_regex.match(profile_datum.op_type):
309 if profile_datum.line_number not in line_to_profile_summary:
310 line_to_profile_summary[profile_datum.line_number] = (
311 profiling.AggregateProfile(profile_datum))
[all …]
/external/tensorflow/tensorflow/python/debug/cli/
Dprofile_analyzer_cli.py147 profile_datum, argument
174 profile_datum.node_exec_stats.node_name):
177 if (not profile_datum.file_path or
178 not file_path_regex.match(profile_datum.file_path)):
180 if (min_lineno > 0 and profile_datum.line_number and
181 profile_datum.line_number < min_lineno):
183 if (max_lineno > 0 and profile_datum.line_number and
184 profile_datum.line_number >= max_lineno):
186 if (profile_datum.op_type is not None and op_type_regex and
187 not op_type_regex.match(profile_datum.op_type)):
[all …]