MCPcopy Create free account
hub / github.com/benoitsteiner/tensorflow-opencl / _set_device

Method _set_device

tensorflow/python/framework/ops.py:1725–1737  ·  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 5

copy_op_to_graphFunction · 0.95
testDeviceObjectMethod · 0.95
create_opMethod · 0.95
import_graph_defFunction · 0.80

Calls 1

_device_stringFunction · 0.85

Tested by 1

testDeviceObjectMethod · 0.76