Home
last modified time | relevance | path

Searched refs:requested_device (Results 1 – 25 of 30) sorted by relevance

12

/external/tensorflow/tensorflow/core/common_runtime/
Dlower_while_op.cc203 .Device(while_op_->requested_device()) in CreateEnterNodes()
220 .Device(while_op_->requested_device()) in CreateEnterNodes()
236 .Device(while_op_->requested_device()) in CreateMergeNodes()
247 cond_call_builder_.Device(while_op_->requested_device()); in CreateCondFuncCallNode()
256 .Device(while_op_->requested_device()) in CreateCondFuncCallNode()
278 .Device(while_op_->requested_device()) in CreateSwitchNodes()
289 body_call_builder_.Device(while_op_->requested_device()); in CreateBodyFuncCallNode()
306 .Device(while_op_->requested_device()) in CreateBodyFuncCallNode()
320 .Device(while_op_->requested_device()) in CreateExitNodes()
332 ib.Device(while_op_->requested_device()); in CreateExitNodes()
[all …]
Dlower_if_op.cc115 then_call_builder_.Device(if_op_->requested_device()); in CondBuilder()
116 else_call_builder_.Device(if_op_->requested_device()); in CondBuilder()
127 .Device(if_op_->requested_device()) in CreatePivotNodes()
133 .Device(if_op_->requested_device()) in CreatePivotNodes()
138 .Device(if_op_->requested_device()) in CreatePivotNodes()
163 .Device(src->requested_device()) in AddInput()
204 .Device(if_op_->requested_device()) in AddOutputs()
220 .Device(if_op_->requested_device()) in AddOutputs()
276 ib.Device(if_op_->requested_device()); in BuildLoweredIfOutput()
Dcolocation_graph.cc191 if (!DeviceNameUtils::ParseFullName(node.requested_device(), in SetRequestedDeviceName()
194 node.requested_device(), in SetRequestedDeviceName()
748 if (DeviceNameUtils::ParseFullName(node->requested_device(), in GetDevicesForNode()
777 "was explicitly assigned to ", node->requested_device(), in GetDevicesForNode()
784 node->requested_device(), "' because no supported kernel for ", in GetDevicesForNode()
791 node->requested_device(), debug_info); in GetDevicesForNode()
798 node->requested_device(), "' because the node ", in GetDevicesForNode()
898 ") ", node->requested_device()); in DebugInfo()
977 if (!node.requested_device().empty()) { in InitializeMember()
982 node.requested_device(), node.type_string(), false, member)); in InitializeMember()
Dparallel_concat_optimizer.cc57 node_builder.Device(n->requested_device()); in Run()
Dplacer.cc108 << node->requested_device() << "' assigned: '" in Run()
Daccumulate_n_optimizer.cc82 node_builder.Device(n->requested_device()); in rewriteNode()
Dgraph_execution_state.cc725 node->set_assigned_device_name(node->requested_device()); in OptimizeGraph()
Dprocess_function_library_runtime.cc298 return &node.requested_device(); in AssignedOrRequestedDeviceName()
/external/tensorflow/tensorflow/core/graph/
Dcollective_order.cc85 if (collective_nodes[i]->requested_device() != in CreateControlDependencies()
86 collective_nodes[j]->requested_device()) { in CreateControlDependencies()
93 collective_nodes[i]->requested_device()); in CreateControlDependencies()
Dgraph_partition_test.cc85 string device_name = !node->requested_device().empty() in Partition()
86 ? node->requested_device() in Partition()
Dgraph.h103 const string& requested_device() const;
Dgraph.cc189 const string& Node::requested_device() const { return def().device(); } in requested_device() function in tensorflow::Node
/external/tensorflow/tensorflow/compiler/tf2xla/
Dsharding_util.cc92 device_name = node.requested_device(); in ParseShardingFromDevice()
102 device_name = src.requested_device(); in SetShardingDeviceAssignmentFromNode()
Dtf2xla_util.cc523 n->set_requested_device(matching_node->requested_device()); in SetNodeShardingFromNeighbors()
640 ? node->requested_device() in RewriteAssociatedFunction()
750 absl::optional<string> requested_device) { in BuildIdentityNode() argument
758 if (requested_device) { in BuildIdentityNode()
759 ndef.set_device(*requested_device); in BuildIdentityNode()
Dtf2xla_util.h184 absl::optional<string> requested_device);
/external/tensorflow/tensorflow/compiler/jit/
Dencapsulate_xla_computations_pass.cc53 if (DeviceNameUtils::ParseFullName(n->requested_device(), &parsed)) { in IsCpuGpuCompile()
328 VLOG(2) << "Device is " << launch->requested_device(); in BuildXlaLaunchOps()
330 def.set_device(launch->requested_device()); in BuildXlaLaunchOps()
Dbuild_xla_ops_pass_test.cc66 if (n->requested_device().empty()) { in BuildXlaOps()
69 n->set_assigned_device_name(n->requested_device()); in BuildXlaOps()
Dbuild_xla_ops_pass.cc329 .WithDevice(n->requested_device()) in ReplaceNodeWithXlaCompileAndXlaRun()
Dmark_for_compilation_pass.cc1118 : node->requested_device(); in RunImpl()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/segment/
Dsegment.cc568 } else if (!tf_node->requested_device().empty()) { in SegmentGraph()
570 tf_node->requested_device()); in SegmentGraph()
574 << tf_node->requested_device(); in SegmentGraph()
/external/tensorflow/tensorflow/core/kernels/
Dsession_ops.cc46 TensorStore::TensorAndKey tk{val, id, requested_device()}; in Compute()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dmeta_optimizer.cc781 if (node->requested_device().empty()) { in OptimizeGraph()
788 node->set_assigned_device_name(node->requested_device()); in OptimizeGraph()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dconvert_graph.cc216 auto node_device = node->requested_device(); in GetEngineInfo()
/external/tensorflow/tensorflow/core/framework/
Dop_kernel.h154 const string& requested_device() const; // Same as def().device()
Dop_kernel.cc130 const string& OpKernel::requested_device() const { return def_->device(); } in requested_device() function in tensorflow::OpKernel

12