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

Function scope

tensorflow/python/distribute/hvd_strategy.py:1426–1428  ·  view source on GitHub ↗
(**kwargs)

Source from the content-addressed store, hash-verified

1424
1425@contextlib.contextmanager
1426def scope(**kwargs):
1427 with GraphRewriting.scope(**kwargs) as ctx:
1428 yield ctx
1429
1430
1431@contextlib.contextmanager

Callers 4

wrapped_model_fnFunction · 0.85
beginMethod · 0.85
trainMethod · 0.85
_eval_fnMethod · 0.85

Calls 1

scopeMethod · 0.45

Tested by

no test coverage detected