MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / RunMetadataLabels

Function RunMetadataLabels

tensorflow/compiler/tests/jit_test.py:69–75  ·  view source on GitHub ↗

Returns all labels in run_metadata.

(run_metadata)

Source from the content-addressed store, hash-verified

67
68
69def RunMetadataLabels(run_metadata):
70 """Returns all labels in run_metadata."""
71 labels = []
72 for dev_stats in run_metadata.step_stats.dev_stats:
73 for node_stats in dev_stats.node_stats:
74 labels.append(node_stats.timeline_label)
75 return labels
76
77
78def InLabels(labels, substr):

Callers 6

MetadataHasXlaRunOpFunction · 0.85
_RunMethod · 0.85
simpleTestMethod · 0.85
testLazyCompilationMethod · 0.85
testIsMegamorphicMethod · 0.85
testIsNotMegamorphicMethod · 0.85

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected