Home
last modified time | relevance | path

Searched refs:cpu_device_ (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/eager/
Dkernel_and_device_test.cc47 cpu_device_ = devices.back().get();
60 Device* cpu_device() { return cpu_device_; } in cpu_device()
67 Device* cpu_device_; member in tensorflow::__anone5cc3cd90111::TestEnv
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dmeta_optimizer.cc127 MK_OPT("constfold", new ConstantFolding(cpu_device_)); in MakeNewOptimizer()
134 MK_OPT("loop", new LoopOptimizer(cfg_.loop_optimization(), cpu_device_)); in MakeNewOptimizer()
149 : cpu_device_(cpu_device), in MetaOptimizer()
152 DCHECK(cpu_device_ == nullptr || in MetaOptimizer()
153 cpu_device_->attributes().device_type() == "CPU"); in MetaOptimizer()
176 MakeUnique<ConstantFolding>(cfg_.constant_folding(), cpu_device_)); in InitializeOptimizers()
193 MakeUnique<LoopOptimizer>(cfg_.loop_optimization(), cpu_device_)); in InitializeOptimizers()
Dloop_optimizer.h68 DeviceBase* cpu_device_; variable
Dmeta_optimizer.h79 DeviceBase* const cpu_device_; // may be NULL variable
Dloop_optimizer.cc699 cpu_device_(nullptr), in LoopOptimizer()
705 cpu_device_(cpu_device), in LoopOptimizer()
758 cpu_device_, resource_mgr_.get(), in RemoveDeadBranches()
Dconstant_folding.h244 DeviceBase* cpu_device_; variable
Dconstant_folding.cc229 : opt_level_(opt_level), cpu_device_(cpu_device) { in ConstantFolding()
1158 return ::tensorflow::grappler::EvaluateNode(node, inputs, cpu_device_, in EvaluateNode()
3433 if (cpu_device_ == nullptr) { in Optimize()
3435 cpu_device_ = owned_device_.get(); in Optimize()
/external/eigen/unsupported/test/
Dcxx11_tensor_device.cu46 const Eigen::DefaultDevice& device() const { return cpu_device_; } in device()
64 Eigen::DefaultDevice cpu_device_; member