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

Method set_device

tensorflow/core/framework/resource_handle.h:47–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 // Unique name for the device containing the resource.
46 const string& device() const { return device_; }
47 void set_device(const string& device) { device_ = device; }
48
49 // Container in which this resource is placed.
50 const string& container() const { return container_; }

Callers 15

RemoveDeviceFunction · 0.45
FlattenAtrousConvFunction · 0.45
CreateDeviceGraphFunction · 0.45
TestRemoveDeviceMethod · 0.45
SetDeviceFunction · 0.45
AddNodeToGraphFunction · 0.45
AddNewNodeMethod · 0.45
AddShapeNodeMethod · 0.45
CreateNodesMethod · 0.45
MaybeMergeConstNodesMethod · 0.45
EnqueueOpMethod · 0.45

Calls

no outgoing calls

Tested by 15

CreateDeviceGraphFunction · 0.36
TestRemoveDeviceMethod · 0.36
AddNewNodeMethod · 0.36
AddShapeNodeMethod · 0.36
BuildGraphMethod · 0.36
NDefFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
RunTestMethod · 0.36
RunTestMethod · 0.36