Home
last modified time | relevance | path

Searched refs:WithAssignedDevice (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/compiler/jit/
Dclone_constants_for_better_clustering_test.cc65 Scope on_gpu = root.WithAssignedDevice(kGPU).WithDevice(kGPU); in TEST()
66 Scope on_cpu = root.WithAssignedDevice(kCPU).WithDevice(kCPU); in TEST()
92 Scope on_gpu = root.WithAssignedDevice(kGPU).WithDevice(kGPU); in TEST()
118 Scope on_gpu = root.WithAssignedDevice(kGPU).WithDevice(kGPU); in TEST()
119 Scope on_cpu = root.WithAssignedDevice(kCPU).WithDevice(kCPU); in TEST()
147 Scope on_gpu = root.WithAssignedDevice(kGPU).WithDevice(kGPU); in TEST()
148 Scope on_cpu = root.WithAssignedDevice(kCPU).WithDevice(kCPU); in TEST()
Dincrease_dynamism_for_auto_jit_pass_test.cc103 .WithAssignedDevice(kDeviceName) in TEST()
149 .WithAssignedDevice(kDeviceName) in TEST()
169 .WithAssignedDevice(kDeviceName) in TEST()
195 .WithAssignedDevice(kDeviceName) in TEST()
213 .WithAssignedDevice(kDeviceName) in TEST()
242 Scope::NewRootScope().ExitOnError().WithAssignedDevice(kDeviceName); in TEST()
260 .WithAssignedDevice(kDeviceName) in TEST()
279 .WithAssignedDevice(kDeviceName) in TEST()
301 .WithAssignedDevice(kDeviceName) in TEST()
331 .WithAssignedDevice(kDeviceName) in TEST()
[all …]
Dincrease_dynamism_for_auto_jit_pass.cc248 Scope host_scope = main_scope.WithAssignedDevice(host_name); in ConvertTensorFlowSliceToStaticShapedSlice()
267 ops::Slice(main_scope.WithAssignedDevice(slice->assigned_device_name()) in ConvertTensorFlowSliceToStaticShapedSlice()
Dbuild_xla_ops_pass.cc330 .WithAssignedDevice(device); in ReplaceNodeWithXlaCompileAndXlaRun()
/external/tensorflow/tensorflow/cc/framework/
Dscope.h144 Scope WithAssignedDevice(const string& assigned_device) const;
Dscope.cc453 Scope Scope::WithAssignedDevice(const string& assigned_device) const { in WithAssignedDevice() function in tensorflow::Scope
/external/tensorflow/tensorflow/core/common_runtime/
Dconstant_folding_test.cc637 Scope s = Scope::NewRootScope().ExitOnError().WithAssignedDevice("/gpu:0"); in TEST_F()