Home
last modified time | relevance | path

Searched refs:CpuDevice (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/optimizers/
Dimplementation_selector_test.cc39 constexpr char CpuDevice[] = "/device:CPU:0"; variable
46 TrivialTestGraphInputYielder fake_input(4, 1, 10, false, {CpuDevice}); in TEST_F()
72 CpuDevice), in TEST_F()
96 CpuDevice), in TEST_F()
121 CpuDevice), in TEST_F()
152 CpuDevice), in TEST_F()
176 CpuDevice), in TEST_F()
213 CpuDevice), in TEST_F()
220 NDef("y2", "XTimesTwo", {"x"}, {{"T", DT_FLOAT}}, CpuDevice), in TEST_F()
221 NDef("z2", "Identity", {"y2"}, {{"T", DT_FLOAT}}, CpuDevice)}, in TEST_F()
[all …]
/external/tensorflow/tensorflow/core/kernels/image/
Dmirror_pad_op_cpu_impl.h27 using CpuDevice = Eigen::ThreadPoolDevice; variable
30 template struct functor::MirrorPad<CpuDevice, T, int32, CPU_PROVIDED_IXDIM>; \
31 template struct functor::MirrorPad<CpuDevice, T, int64, CPU_PROVIDED_IXDIM>;
37 template struct functor::MirrorPadGrad<CpuDevice, T, int32, \
39 template struct functor::MirrorPadGrad<CpuDevice, T, int64, \
Dmirror_pad_op.cc149 using CpuDevice = Eigen::ThreadPoolDevice; typedef
157 void MirrorPad<CpuDevice, T, Tpaddings, i>::operator()( \
158 const CpuDevice&, typename TTypes<T, i, int32>::Tensor, \
161 extern template struct MirrorPad<CpuDevice, T, Tpaddings, i>;
188 MirrorPadOp<CpuDevice, type, int32>); \
194 MirrorPadOp<CpuDevice, type, int64>);
366 void MirrorPadGrad<CpuDevice, T, Tpaddings, k>::operator()( \
367 const CpuDevice&, typename TTypes<T, k, int32>::Tensor, \
371 extern template struct MirrorPadGrad<CpuDevice, T, Tpaddings, k>;
396 MirrorPadGradOp<CpuDevice, type, int32>); \
[all …]
/external/tensorflow/tensorflow/compiler/xla/pjrt/
Dcpu_device.cc27 CpuDevice::CpuDevice(int id, in CpuDevice() function in xla::CpuDevice
56 auto device = absl::make_unique<CpuDevice>(i, std::move(device_state)); in GetCpuClient()
Dcpu_device.h26 class CpuDevice : public PjRtStreamExecutorDevice {
28 CpuDevice(int id, std::unique_ptr<LocalDeviceState> local_device_state);
/external/tensorflow/tensorflow/core/kernels/
Dslice_op_cpu_impl.h27 using CpuDevice = Eigen::ThreadPoolDevice; variable
30 template struct functor::Slice<CpuDevice, T, CPU_PROVIDED_IXDIM>;
/external/tensorflow/tensorflow/core/framework/
Ddevice_base_test.cc28 TEST(DeviceBaseTest, CpuDevice) { in TEST() argument
/external/tensorflow/tensorflow/compiler/xla/python/
Dxla.cc154 py::class_<CpuDevice, PjRtDevice, ClientAndPtr<CpuDevice>>(m, "CpuDevice") in PYBIND11_MODULE()
155 .def("__repr__", [](const CpuDevice& device) { in PYBIND11_MODULE()
Doutfeed_receiver_test.cc97 devices.push_back(absl::make_unique<CpuDevice>(0, std::move(device_state))); in GetCpuClientWithNonLocalDevice()
98 devices.push_back(absl::make_unique<CpuDevice>(1, nullptr)); in GetCpuClientWithNonLocalDevice()