MCPcopy Create free account
hub / github.com/alibaba/nann / add_step

Method add_step

tensorflow/tensorflow/python/profiler/model_analyzer.py:189–205  ·  view source on GitHub ↗

Add statistics of a step. Args: step: int, An id used to group one or more different `run_meta` together. When profiling with the profile_xxx APIs, user can use the `step` id in the `options` to profile these `run_meta` together. run_meta: RunMetadata proto that

(self, step, run_meta)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

testProfileBasicMethod · 0.95
testMultiStepProfileMethod · 0.95
_profiled_runFunction · 0.80
RetrieveLogsMethod · 0.80

Calls 3

_graph_stringFunction · 0.85
AddStepMethod · 0.80
SerializeToStringMethod · 0.45

Tested by 3

testProfileBasicMethod · 0.76
testMultiStepProfileMethod · 0.76