Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1571
def
ensure_initialized():
1572
""
"Initialize the context."
""
1573
context().ensure_initialized()
1574
1575
1576
def
set_global_seed(seed):
Callers
3
executor
Method · 0.85
device
Function · 0.85
list_devices
Function · 0.85
Calls
2
context
Function · 0.85
ensure_initialized
Method · 0.80
Tested by
no test coverage detected