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

Method replica

tensorflow/python/framework/device_spec.py:389–391  ·  view source on GitHub ↗
(self, replica)

Source from the content-addressed store, hash-verified

387
388 @DeviceSpecV2.replica.setter
389 def replica(self, replica):
390 self._replica = _as_int_or_none(replica)
391 self._as_string, self._hash = None, None
392
393 @DeviceSpecV2.task.setter
394 def task(self, task):

Callers

nothing calls this directly

Calls 1

_as_int_or_noneFunction · 0.85

Tested by

no test coverage detected