Home
last modified time | relevance | path

Searched refs:SetDefaultDevice (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/core/graph/
Ddefault_device.h29 inline void SetDefaultDevice(const string& device, GraphDef* graph_def) { in SetDefaultDevice() function
/external/tensorflow/tensorflow/cc/profiler/
Dprofiler_test.cc101 graph::SetDefaultDevice("/gpu:0", &def); in TEST_F()
/external/tensorflow/tensorflow/cc/tutorials/
Dexample_trainer.cc105 graph::SetDefaultDevice(opts->use_gpu ? "/device:GPU:0" : "/cpu:0", &def); in ConcurrentSteps()
/external/tensorflow/tensorflow/core/distributed_runtime/
Drpcbench_test.cc178 graph::SetDefaultDevice(cluster->devices[0].name(), &def); in BM_Helper()
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_session_test.cc249 graph::SetDefaultDevice(cluster->devices()[0].name(), &graph_copy); in TEST()
256 graph::SetDefaultDevice(cluster->devices()[1].name(), &graph_copy); in TEST()