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

Function _choose_step

tensorflow/python/ops/summary_ops_v2.py:959–964  ·  view source on GitHub ↗
(step)

Source from the content-addressed store, hash-verified

957
958
959def _choose_step(step):
960 if step is None:
961 return training_util.get_or_create_global_step()
962 if not isinstance(step, ops.Tensor):
963 return ops.convert_to_tensor(step, dtypes.int64)
964 return step
965
966
967def _check_create_file_writer_args(inside_function, **kwargs):

Callers 2

functionFunction · 0.85
graphFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected