Home
last modified time | relevance | path

Searched refs:SetDevice (Results 1 – 21 of 21) 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/common_runtime/eager/
Deager_operation.h62 tensorflow::Status SetDevice(const char* device);
63 void SetDevice(tensorflow::Device* device) { device_ = device; } in SetDevice() function
Deager_operation.cc18 tensorflow::Status EagerOperation::SetDevice(const char* device) { in SetDevice() function in tensorflow::EagerOperation
Dexecute.cc842 op->SetDevice(resource_device); in MaybeUpdateOpDevice()
886 op->SetDevice(ctx->HostCPU()); in MaybeUpdateOpDevice()
1066 op.SetDevice(device); in ExecuteSend()
1095 op.SetDevice(device); in ExecuteRecv()
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_session_test.cc364 void SetDevice(GraphDef* graph, const string& name, const string& dev) { in SetDevice() function
405 SetDevice(&def, a->name(), a_dev.name()); in TEST()
406 SetDevice(&def, b->name(), b_dev.name()); in TEST()
407 SetDevice(&def, c->name(), c_dev.name()); in TEST()
477 SetDevice(&def, fill_node->name(), cluster->devices()[0].name()); in TEST()
478 SetDevice(&def, fill_node->name(), cluster->devices()[1].name()); in TEST()
517 SetDevice(&def, a->name(), a_dev.name()); in TEST()
518 SetDevice(&def, b->name(), b_dev.name()); in TEST()
570 SetDevice(&def, a->name(), src.name()); in TEST()
571 SetDevice(&def, b->name(), dst0.name()); in TEST()
[all …]
/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/compiler/tf2tensorrt/kernels/
Dget_serialized_resource_op_test.cc58 SetDevice(DEVICE_GPU, std::move(device)); 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/kernels/
Dops_testutil.cc25 void OpsTestBase::SetDevice(const DeviceType& device_type, in SetDevice() function in tensorflow::OpsTestBase
Ddepthwise_conv_ops_test.cc41 SetDevice(DEVICE_GPU, in Run()
Dops_testutil.h88 void SetDevice(const DeviceType& device_type, std::unique_ptr<Device> device);
/external/tensorflow/tensorflow/core/distributed_runtime/eager/
Deager_service_impl.cc171 TF_RETURN_IF_ERROR(op->SetDevice(operation.device().c_str())); in ExecuteOp()
/external/skqp/src/compute/hs/cuda/bench/
Dmain.c499 cuda(SetDevice(device)); in main()
/external/skia/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']
/external/tensorflow/tensorflow/c/eager/
Dc_api.cc596 status->status = op->operation.SetDevice(device_name); in TFE_OpSetDevice()