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

Method task

tensorflow/python/framework/device_spec.py:394–396  ·  view source on GitHub ↗
(self, task)

Source from the content-addressed store, hash-verified

392
393 @DeviceSpecV2.task.setter
394 def task(self, task):
395 self._task = _as_int_or_none(task)
396 self._as_string, self._hash = None, None
397
398 @DeviceSpecV2.device_type.setter
399 def device_type(self, device_type):

Callers

nothing calls this directly

Calls 1

_as_int_or_noneFunction · 0.85

Tested by

no test coverage detected