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

Function ensure_initialized

tensorflow/python/eager/context.py:1571–1573  ·  view source on GitHub ↗

Initialize the context.

()

Source from the content-addressed store, hash-verified

1569
1570
1571def ensure_initialized():
1572 """Initialize the context."""
1573 context().ensure_initialized()
1574
1575
1576def set_global_seed(seed):

Callers 3

executorMethod · 0.85
deviceFunction · 0.85
list_devicesFunction · 0.85

Calls 2

contextFunction · 0.85
ensure_initializedMethod · 0.80

Tested by

no test coverage detected