Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ set_requested_device
Method
set_requested_device
tensorflow/core/graph/graph.cc:244–247 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
242
}
243
244
void Node::set_requested_device(const string& device) {
245
MaybeCopyOnWrite();
246
props_->node_def.set_device(device);
247
}
248
249
void Node::set_original_node_names(const std::vector<string>& names) {
250
MaybeCopyOnWrite();
Callers
11
SetNodeShardingFromNeighbors
Function · 0.80
MakeBodyGraph
Function · 0.80
TEST
Function · 0.80
TEST_F
Function · 0.80
Run
Method · 0.80
TEST_F
Function · 0.80
TEST_F
Function · 0.80
RemoveListArrayConverter
Function · 0.80
InlineFunctionBody
Function · 0.80
FuseTransposeMklOpTranspose
Method · 0.80
SetRequestedDevice
Function · 0.80
Calls
1
set_device
Method · 0.45
Tested by
5
MakeBodyGraph
Function · 0.64
TEST
Function · 0.64
TEST_F
Function · 0.64
TEST_F
Function · 0.64
TEST_F
Function · 0.64