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

Method set_assigned_device_name_index

tensorflow/core/graph/graph.h:1012–1015  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1010}
1011
1012inline void Node::set_assigned_device_name_index(int index) {
1013 graph_->CheckDeviceNameIndex(index);
1014 assigned_device_name_index_ = index;
1015}
1016
1017inline void Node::set_assigned_device_name(const string& device_name) {
1018 graph_->set_assigned_device_name(this, device_name);

Callers 7

AssignAndLogFunction · 0.45
ReplaceReduceFunction · 0.45
ReplaceBroadcastFunction · 0.45
RunMethod · 0.45
CreateLookupNodeMethod · 0.45
ModifyApplyNodeMethod · 0.45

Calls 1

CheckDeviceNameIndexMethod · 0.80

Tested by

no test coverage detected