MCPcopy Create free account
hub / github.com/alibaba/nann / device_v2

Function device_v2

tensorflow/tensorflow/python/framework/ops.py:5145–5174  ·  view source on GitHub ↗

Specifies the device for ops created/executed in this context. `device_name` can be fully specified, as in "/job:worker/task:1/device:cpu:0", or partially specified, containing only a subset of the "/"-separated fields. Any fields which are specified override device annotations from outer s

(device_name)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

deviceFunction · 0.70

Tested by

no test coverage detected