Home
last modified time | relevance | path

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

/aosp_15_r20/external/tensorflow/tensorflow/python/debug/lib/
H A Dprofiling.py64 def __init__(self, profile_datum): argument
72 self.total_op_time = profile_datum.op_time
73 self.total_exec_time = profile_datum.exec_time
74 device_and_node = "%s:%s" % (profile_datum.device_name,
75 profile_datum.node_exec_stats.node_name)
78 def add(self, profile_datum): argument
86 self.total_op_time += profile_datum.op_time
87 self.total_exec_time += profile_datum.exec_time
88 device_and_node = "%s:%s" % (profile_datum.device_name,
89 profile_datum.node_exec_stats.node_name)
[all …]
H A Dsource_utils.py351 for profile_datum in profile_data:
352 if not profile_datum.file_path:
355 if _norm_abs_path(profile_datum.file_path) != source_file_path:
358 if (min_line is not None and profile_datum.line_number < min_line or
359 max_line is not None and profile_datum.line_number >= max_line):
363 not node_name_regex.match(profile_datum.node_exec_stats.node_name)):
366 if op_type_regex and not op_type_regex.match(profile_datum.op_type):
369 if profile_datum.line_number not in line_to_profile_summary:
370 line_to_profile_summary[profile_datum.line_number] = (
371 profiling.AggregateProfile(profile_datum))
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/python/debug/cli/
H A Dprofile_analyzer_cli.py143 profile_datum, argument
170 profile_datum.node_exec_stats.node_name):
173 if (not profile_datum.file_path or
174 not file_path_regex.match(profile_datum.file_path)):
176 if (min_lineno > 0 and profile_datum.line_number and
177 profile_datum.line_number < min_lineno):
179 if (max_lineno > 0 and profile_datum.line_number and
180 profile_datum.line_number >= max_lineno):
182 if (profile_datum.op_type is not None and op_type_regex and
183 not op_type_regex.match(profile_datum.op_type)):
[all …]