/external/tensorflow/tensorflow/tools/optimization/ |
D | optimization_pass_runner.cc | 50 class FakeDevice : public Device { class 52 explicit FakeDevice(const DeviceAttributes& device_attributes) in FakeDevice() function in tensorflow::__anondfd7505e0111::FakeDevice 60 Status FakeDevice::Sync() { in Sync() 64 std::unique_ptr<Device> FakeDevice::Make(const string& name, in Make() 69 return std::unique_ptr<Device>(new FakeDevice(device_attributes)); in Make() 163 devices_.push_back(FakeDevice::Make(name, type)); in AddDevice()
|
/external/skqp/tests/ |
D | LayerDrawLooperTest.cpp | 28 class FakeDevice : public SkBitmapDevice { class 30 FakeDevice() : INHERITED(make_bm(100, 100), SkSurfaceProps(0, kUnknown_SkPixelGeometry), in FakeDevice() function in FakeDevice 58 FakeDevice device; in test_frontToBack() 97 FakeDevice device; in test_backToFront() 136 FakeDevice device; in test_mixed()
|
/external/skia/tests/ |
D | LayerDrawLooperTest.cpp | 28 class FakeDevice : public SkBitmapDevice { class 30 FakeDevice() : INHERITED(make_bm(100, 100), SkSurfaceProps(0, kUnknown_SkPixelGeometry), in FakeDevice() function in FakeDevice 58 FakeDevice device; in test_frontToBack() 97 FakeDevice device; in test_backToFront() 136 FakeDevice device; in test_mixed()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | device_set_test.cc | 28 class FakeDevice : public Device { in Dev() class 30 explicit FakeDevice(const DeviceAttributes& attr) : Device(nullptr, attr) {} in Dev() function in tensorflow::__anonf0ab42df0111::Dev::FakeDevice 37 return new FakeDevice(attr); in Dev()
|
D | placer_test.cc | 82 class FakeDevice : public Device { class 84 explicit FakeDevice(const DeviceAttributes& device_attributes) in FakeDevice() function in tensorflow::__anon5fafcd9b0111::FakeDevice 96 return std::unique_ptr<Device>(new FakeDevice(device_attributes)); in MakeCPU() 103 return std::unique_ptr<Device>(new FakeDevice(device_attributes)); in MakeGPU() 207 local_devices_.emplace_back(FakeDevice::MakeCPU( in PlacerTest() 211 local_devices_.emplace_back(FakeDevice::MakeGPU( in PlacerTest() 1263 FakeDevice::MakeGPU("/job:b/replica:0/task:0/device:fakegpu:0")); in TEST_F() 1266 FakeDevice::MakeCPU("/job:b/replica:0/task:1/device:fakecpu:0")); in TEST_F() 1364 FakeDevice::MakeCPU("/job:a/replica:0/task:0/device:fakecpu:0")); in TEST_F()
|
D | constant_folding_test.cc | 96 class FakeDevice : public Device { class 98 explicit FakeDevice(const DeviceAttributes& device_attributes) in FakeDevice() function in tensorflow::__anond28d22700111::FakeDevice 110 return std::unique_ptr<Device>(new FakeDevice(device_attributes)); in Make() 652 FakeDevice::Make("/job:tpu_worker/replica:0/task:0/device:GPU:0", in TEST_F()
|
/external/tensorflow/tensorflow/core/distributed_runtime/ |
D | session_mgr_test.cc | 26 class FakeDevice : public Device { class 28 explicit FakeDevice(const DeviceAttributes& device_attributes) in FakeDevice() function in tensorflow::FakeDevice 40 return std::unique_ptr<Device>(new FakeDevice(device_attributes)); in MakeCPU() 50 FakeDevice::MakeCPU("/job:mnist/replica:0/task:0/device:fakecpu:0")); in SessionMgrTest()
|
D | device_resolver_distributed_test.cc | 47 class FakeDevice : public Device { in NewDevice() class 49 explicit FakeDevice(const DeviceAttributes& attr) : Device(nullptr, attr) {} in NewDevice() function in tensorflow::__anon0903cdc10111::NewDevice::FakeDevice 57 return absl::make_unique<FakeDevice>(attr); in NewDevice()
|
D | collective_rma_distributed_test.cc | 46 class FakeDevice : public Device { in NewDevice() class 48 explicit FakeDevice(const DeviceAttributes& attr) : Device(nullptr, attr) {} in NewDevice() function in tensorflow::__anon7e5c43490111::NewDevice::FakeDevice 56 return absl::make_unique<FakeDevice>(attr); in NewDevice()
|
D | collective_param_resolver_distributed_test.cc | 34 class FakeDevice : public Device { in NewDevice() class 36 explicit FakeDevice(const DeviceAttributes& attr) : Device(nullptr, attr) {} in NewDevice() function in tensorflow::__anonc2f8b6eb0111::NewDevice::FakeDevice 44 return absl::make_unique<FakeDevice>(attr); in NewDevice()
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | increase_dynamism_for_auto_jit_pass_test.cc | 42 class FakeDevice : public Device { class 44 explicit FakeDevice(const DeviceAttributes& device_attributes) in FakeDevice() function in tensorflow::__anon624fd3d60111::FakeDevice 55 return absl::make_unique<FakeDevice>(device_attributes); in Make() 65 devices.push_back(FakeDevice::Make(kDeviceName, DEVICE_GPU)); in IncreaseDynamismForAutoJit() 66 devices.push_back(FakeDevice::Make(kHostName, DEVICE_CPU)); in IncreaseDynamismForAutoJit()
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | function_optimizer.cc | 136 class FakeDevice : public Device { class 138 FakeDevice(Env* env, const string& device) : Device(env, attr(device)) {} in FakeDevice() function in tensorflow::grappler::__anon35816ea30111::FakeDevice 139 explicit FakeDevice(const string& device) : FakeDevice(nullptr, device) {} in FakeDevice() function in tensorflow::grappler::__anon35816ea30111::FakeDevice 317 auto device = absl::make_unique<FakeDevice>(name); in devices() 413 devices.push_back(absl::make_unique<FakeDevice>(env, "/device:CPU:0")); in InitializeFunctionLibraryRuntime()
|