Home
last modified time | relevance | path

Searched refs:SetDevice (Results 1 – 24 of 24) sorted by relevance

/external/tensorflow/tensorflow/tools/graph_transforms/
Dset_device.cc23 Status SetDevice(const GraphDef& input_graph_def, in SetDevice() function
44 REGISTER_GRAPH_TRANSFORM("set_device", SetDevice);
Dset_device_test.cc32 Status SetDevice(const GraphDef& input_graph_def,
90 TF_ASSERT_OK(SetDevice(graph_def, context, &result)); in TEST()
113 TF_ASSERT_OK(SetDevice(graph_def, context, &result)); in TEST()
/external/tensorflow/tensorflow/core/debug/
Dgrpc_session_debug_test.cc215 void SetDevice(GraphDef* graph, const string& name, const string& dev) { in SetDevice() function
247 SetDevice(&def, a->name(), a_dev.name()); in TEST_F()
248 SetDevice(&def, b->name(), b_dev.name()); in TEST_F()
/external/tensorflow/tensorflow/lite/toco/tensorflow_graph_matching/
Dcluster.h60 void SetDevice(const string& device) { device_ = device; } in SetDevice() function
Dresolve_svdf.cc273 cluster->SetDevice(node.device()); in CreateCluster()
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_session_test.cc399 void SetDevice(GraphDef* graph, const string& name, const string& dev) { in SetDevice() function
440 SetDevice(&def, a->name(), a_dev.name()); in TEST()
441 SetDevice(&def, b->name(), b_dev.name()); in TEST()
442 SetDevice(&def, c->name(), c_dev.name()); in TEST()
512 SetDevice(&def, fill_node->name(), cluster->devices()[0].name()); in TEST()
513 SetDevice(&def, fill_node->name(), cluster->devices()[1].name()); in TEST()
552 SetDevice(&def, a->name(), a_dev.name()); in TEST()
553 SetDevice(&def, b->name(), b_dev.name()); in TEST()
605 SetDevice(&def, a->name(), src.name()); in TEST()
606 SetDevice(&def, b->name(), dst0.name()); in TEST()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Ddepthwise_conv_ops_test.cc43 SetDevice(DEVICE_GPU, in Run()
Dops_testutil.h76 void SetDevice(const DeviceType& device_type, std::unique_ptr<Device> device);
Dops_testutil.cc99 void OpsTestBase::SetDevice(const DeviceType& device_type, in SetDevice() function in tensorflow::OpsTestBase
Dnon_max_suppression_op_gpu_test.cc45 SetDevice(DEVICE_GPU, in MakeOp()
Dresize_bilinear_op_test.cc47 SetDevice(DEVICE_GPU, std::move(device_gpu)); in SetUp()
/external/tensorflow/tensorflow/compiler/tests/
Dunary_ops_composition_test.cc53 SetDevice(DeviceType(xla_device_name), in RunComposedOp()
/external/tensorflow/tensorflow/core/distributed_runtime/eager/
Dremote_copy_node.cc124 op.SetDevice(send_device_); in StartSend()
258 op.SetDevice(recv_device_); in StartRecv()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dexecute.cc468 op->SetDevice(device); in EagerLocalExecute()
637 op->SetDevice(device); in EagerRemoteExecute()
849 op->SetDevice(resource_device); in MaybeUpdateOpDevice()
892 op->SetDevice(ctx.HostCPU()); in MaybeUpdateOpDevice()
Deager_operation.h79 void SetDevice(tensorflow::Device* device) { in SetDevice() function
Dmkl_eager_op_rewrite.cc139 (*new_mkl_op)->SetDevice(orig_op->Device()); in SetupNewOp()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/kernels/
Dtrt_engine_op_test.cc75 OpsTestBase::SetDevice(DEVICE_GPU, std::move(device)); in AddSimpleTrtOp()
Dtrt_engine_resource_ops_test.cc97 SetDevice(DEVICE_GPU, std::move(device)); in TEST_F()
/external/tensorflow/tensorflow/c/
Dkernels_test.cc350 OpsTestBase::SetDevice(DEVICE_GPU, std::move(device)); in SetupOp()
/external/skqp/src/compute/hs/cuda/bench/
Dmain.c499 cuda(SetDevice(device)); in main()
/external/stressapptest/src/
Dworker.h681 virtual void SetDevice(const char *device_name);
Dsat.cc1326 thread->SetDevice(diskfilename_[i].c_str()); in InitializeThreads()
1343 rthread->SetDevice(diskfilename_[i].c_str()); in InitializeThreads()
Dworker.cc2605 void DiskThread::SetDevice(const char *device_name) { in SetDevice() function in DiskThread
/external/toolchain-utils/android_bench_suite/
Dautotest.diff561 +NAME = "SetDevice"
907 + set_device = ['SetDevice']