Home
last modified time | relevance | path

Searched refs:NewDevice (Results 1 – 25 of 43) sorted by relevance

12

/external/tensorflow/tensorflow/core/distributed_runtime/
Ddevice_resolver_distributed_test.cc37 std::unique_ptr<Device> NewDevice(const string& type, const string& name) { in NewDevice() function
56 NewDevice("CPU", "/job:worker/replica:0/task:0/device:CPU:0")); in SetUp()
58 NewDevice("CPU", "/job:worker/replica:0/task:0/device:CPU:1")); in SetUp()
65 NewDevice("CPU", "/job:worker/replica:0/task:1/device:CPU:0") in SetUp()
68 NewDevice("CPU", "/job:worker/replica:0/task:1/device:CPU:1") in SetUp()
119 NewDevice("CPU", "/job:worker/replica:0/task:2/device:CPU:0") in TEST_F()
122 NewDevice("CPU", "/job:worker/replica:0/task:2/device:CPU:1") in TEST_F()
155 NewDevice("CPU", "/job:worker/replica:0/task:0/device:CPU:0") in TEST_F()
158 NewDevice("CPU", "/job:worker/replica:0/task:0/device:CPU:1") in TEST_F()
Dcollective_param_resolver_distributed_test.cc34 static std::unique_ptr<Device> NewDevice(const string& type, in NewDevice() function
155 devices.push_back(NewDevice( in DefineWorker()
Dcollective_rma_distributed_test.cc45 static std::unique_ptr<Device> NewDevice(const string& type, in NewDevice() function
244 devices.push_back(NewDevice( in DefineWorker()
/external/tensorflow/tensorflow/core/distributed_runtime/eager/
Dremote_mgr_test.cc46 DeviceFactory::NewDevice("CPU", {}, "/job:localhost/replica:0/task:0")); in RemoteMgrTest()
49 DeviceFactory::NewDevice("CPU", {}, "/job:worker/replica:0/task:0")); in RemoteMgrTest()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dexecute_node_test.cc52 DeviceFactory::NewDevice("CPU", {}, "/job:localhost/replica:0/task:0")); in TEST()
57 DeviceFactory::NewDevice("CPU", {}, "/job:localhost/replica:0/task:1")); in TEST()
Deager_operation_test.cc26 StaticDeviceMgr device_mgr(DeviceFactory::NewDevice( in TEST()
Dcustom_device_test.cc87 StaticDeviceMgr device_mgr(DeviceFactory::NewDevice( in TEST()
112 StaticDeviceMgr device_mgr(DeviceFactory::NewDevice( in TEST()
Deager_op_rewrite_registry_test.cc46 StaticDeviceMgr device_mgr(DeviceFactory::NewDevice( in TEST()
Dkernel_and_device_test.cc47 DeviceFactory::NewDevice("CPU", {}, "/job:a/replica:0/task:0"));
Dmkl_eager_op_rewrite_test.cc38 absl::make_unique<StaticDeviceMgr>(DeviceFactory::NewDevice( in CreateOp()
/external/tensorflow/tensorflow/core/kernels/mlir_generated/
Dcpu_binary_ops_test.cc30 tensorflow::DeviceFactory::NewDevice("CPU", {}, in SetUp()
Dcpu_unary_ops_test.cc30 tensorflow::DeviceFactory::NewDevice("CPU", {}, in SetUp()
/external/tensorflow/tensorflow/core/framework/
Ddevice_factory.h48 static std::unique_ptr<Device> NewDevice(const string& type,
Ddevice_factory.cc188 std::unique_ptr<Device> DeviceFactory::NewDevice(const string& type, in NewDevice() function in tensorflow::DeviceFactory
/external/tensorflow/tensorflow/core/kernels/
Ddepthwise_conv_ops_test.cc44 std::unique_ptr<tensorflow::Device>(DeviceFactory::NewDevice( in Run()
Dconstant_op_test.cc60 std::unique_ptr<Device> device(DeviceFactory::NewDevice( in PersistentMemoryTrackingTest()
Drestore_op_test.cc86 DeviceFactory::NewDevice("CPU", {}, "/job:a/replica:0/task:0")); in TEST_F()
390 DeviceFactory::NewDevice("CPU", {}, "/job:a/replica:0/task:0")); in TEST_F()
Dsegment_reduction_ops_test.cc46 DeviceFactory::NewDevice("CPU", {}, "/job:a/replica:0/task:0")); in BM_SegmentReduction()
Dparse_tensor_test.cc49 DeviceFactory::NewDevice("CPU", {}, "/job:a/replica:0/task:0")); in ParseSerializedWithNodeDef()
/external/tensorflow/tensorflow/core/kernels/image/
Dresize_nearest_neighbor_op_test.cc45 DeviceFactory::NewDevice(/*type=*/"GPU", /*options=*/{}, in SetUp()
84 DeviceFactory::NewDevice(/*type=*/"GPU", /*options=*/{}, in SetUp()
/external/tensorflow/tensorflow/compiler/tests/
Dunary_ops_composition_test.cc60 std::unique_ptr<tensorflow::Device>(DeviceFactory::NewDevice( in RunComposedOp()
/external/tensorflow/tensorflow/c/experimental/saved_model/core/
Dtest_utils.cc41 DeviceFactory::NewDevice("CPU", {}, "/job:localhost/replica:0/task:0")); in CreateTestingDeviceMgr()
/external/tensorflow/tensorflow/core/data/
Dstandalone.cc51 auto device_mgr = absl::make_unique<StaticDeviceMgr>(DeviceFactory::NewDevice( in FromGraph()
/external/tensorflow/tensorflow/core/common_runtime/
Dbuf_rendezvous_test.cc31 static std::unique_ptr<Device> NewDevice(const string& name, in NewDevice() function in tensorflow::__anon5d7062b30111::BufRendezvousTest
51 devices.push_back(NewDevice(device, type, incarnation)); in InitializeDevice()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/kernels/
Dtrt_engine_resource_ops_test.cc108 DeviceFactory::NewDevice("GPU", {}, "/job:worker/replica:0/task:0")); in TEST_F()

12