Searched refs:has_device_cpu (Results 1 – 2 of 2) sorted by relevance
269 bool has_device_cpu, const string& device) { in TryFindHostDevice() argument271 if (device.empty() && has_device_cpu) { in TryFindHostDevice()324 const bool has_device_cpu = devices.find("/device:CPU:0") != devices.end(); in Optimize() local343 internal::TryFindHostDevice(devices, has_device_cpu, node.device()); in Optimize()
30 bool has_device_cpu, const string& device);