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