MCPcopy 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
93class 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

InlineFunctionCallsFunction · 0.85
TEST_FFunction · 0.85
OptimizeMethod · 0.85
RewriteFunctionCallNodeFunction · 0.85

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.68