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

Method _set_device

tensorflow/tensorflow/python/framework/ops.py:2001–2007  ·  view source on GitHub ↗

Set the device of this operation. Args: device: string or device.. The device to set.

(self, device)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

copy_op_to_graphFunction · 0.95
testDeviceObjectMethod · 0.95
_ProcessNewOpsFunction · 0.45
_create_op_helperMethod · 0.45

Calls 2

_device_stringFunction · 0.85

Tested by 1

testDeviceObjectMethod · 0.76