Home
last modified time | relevance | path

Searched refs:set_requested_device (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/compiler/jit/
Dbuild_xla_ops_pass_test.cc143 call->set_requested_device(kXlaDeviceName); in TEST_F()
221 call->set_requested_device(kXlaDeviceName); in TEST_F()
289 call->set_requested_device(kXlaDeviceName); in TEST_F()
Dencapsulate_xla_computations_pass_test.cc111 node->set_requested_device("/gpu:0"); in MakeBodyGraph()
219 node->set_requested_device("/gpu:0"); in TEST()
/external/tensorflow/tensorflow/c/
Dpython_api.cc54 op->node.set_requested_device(device); in SetRequestedDevice()
/external/tensorflow/tensorflow/core/common_runtime/
Dinline_function_utils.cc517 if (device.has_value()) node->set_requested_device(*device); in InlineFunctionBody()
526 if (device.has_value()) node->set_requested_device(*device); in InlineFunctionBody()
541 if (device.has_value()) node->set_requested_device(*device); in InlineFunctionBody()
Dfunction_utils.cc186 node->set_requested_device(input.node->def().device()); in RemoveListArrayConverter()
Dplacer_test.cc1059 ->set_requested_device("/job:a/replica:0/task:0/device:FakeCPU:0"); in TEST_F()
1061 ->set_requested_device("/job:a/replica:0/task:0/device:FakeGPU:0"); in TEST_F()
1571 GetNodeByName(g, "var")->set_requested_device(gpu_device); in TEST_F()
1599 GetNodeByName(g, "var")->set_requested_device(remote_device); in TEST_F()
Dfunction_test.cc1214 if (node->name() == "b") node->set_requested_device(call_device); in TEST_F()
Dmkl_layout_pass.cc3841 new_node->set_requested_device(mklop->requested_device()); in FuseTransposeMklOpTranspose()
/external/tensorflow/tensorflow/core/tpu/graph_rewrite/
Ddistributed_tpu_rewrite_pass.cc1093 out->set_requested_device(requested_device); in SetPaddingNodesDevices()
1101 out->set_requested_device(requested_device); in SetPaddingNodesDevices()
1173 node->set_requested_device(src_node->requested_device()); in PlaceOpsOnTPU()
2602 read_node->set_requested_device(variables[i].node->requested_device()); in BuildVariableReads()
3498 image->set_requested_device(DeviceNameUtils::ParsedNameToString(device)); in CopyOutsideCompilationNodes()
3745 n->set_requested_device(""); in LowerOutsideCompilationFunctionalNodes()
4193 node->set_requested_device(tf_device_assignment[replica_id][0]); in UpdateHeadTailOutsideCompilation()
4200 node->set_requested_device(cpu_device); in UpdateHeadTailOutsideCompilation()
/external/tensorflow/tensorflow/core/graph/
Dgraph.h117 void set_requested_device(const std::string& device);
Dgraph.cc229 void Node::set_requested_device(const string& device) { in set_requested_device() function in tensorflow::Node
/external/tensorflow/tensorflow/core/tpu/kernels/
Dtpu_compile_op_common.cc427 node->set_requested_device(device); in AssignDevicesToArgsAndRetvals()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dtf2xla_util.cc522 n->set_requested_device(matching_node->requested_device()); in SetNodeShardingFromNeighbors()