Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ SingleDevice
Class
SingleDevice
tensorflow/python/distribute/numpy_dataset.py:93–97 ·
view source on GitHub ↗
Used with `colocate_with` to create a non-mirrored variable.
Source
from the content-addressed store, hash-verified
91
92
93
class
SingleDevice(object):
94
""
"Used with `colocate_with` to create a non-mirrored variable."
""
95
96
def
__init__(self, device):
97
self.device = device
Callers
5
InlineFunctionCalls
Function · 0.85
TEST_F
Function · 0.85
Optimize
Method · 0.85
RewriteFunctionCallNode
Function · 0.85
ConstructFunctionGraph
Method · 0.85
Calls
no outgoing calls
Tested by
1
TEST_F
Function · 0.68