OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:profile_datum
(Results
1 - 3
of
3
) sorted by null
/external/tensorflow/tensorflow/python/debug/lib/
profiling.py
68
def __init__(self,
profile_datum
):
72
profile_datum
: (`ProfileDatum`) an instance of `ProfileDatum` to
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
):
86
profile_datum
: (`ProfileDatum`) an instance of `ProfileDatum` to
90
self.total_op_time +=
profile_datum
.op_time
91
self.total_exec_time +=
profile_datum
.exec_tim
[
all
...]
source_utils.py
291
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/
profile_analyzer_cli.py
147
profile_datum
,
158
profile_datum
: A `ProfileDatum` object.
171
True iff
profile_datum
should be included.
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)
[
all
...]
Completed in 342 milliseconds