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

Function get_step

tensorflow/python/ops/summary_ops_v2.py:147–154  ·  view source on GitHub ↗

Returns the default summary step for the current thread. Returns: The step set by `tf.summary.experimental.set_step()` if one has been set, otherwise None.

()

Source from the content-addressed store, hash-verified

145
146@tf_export("summary.experimental.get_step", v1=[])
147def get_step():
148 """Returns the default summary step for the current thread.
149
150 Returns:
151 The step set by `tf.summary.experimental.set_step()` if one has been set,
152 otherwise None.
153 """
154 return context.context().summary_step
155
156
157@tf_export("summary.experimental.set_step", v1=[])

Callers 2

writeFunction · 0.85
write_raw_pbFunction · 0.85

Calls 1

contextMethod · 0.45

Tested by

no test coverage detected