Fixed a typo

PiperOrigin-RevId: 159038125
This commit is contained in:
Benoit Steiner 2017-06-14 15:54:06 -07:00 committed by TensorFlower Gardener
parent bea7255832
commit e16d717e0b

View File

@ -40,11 +40,11 @@ VirtualPlacer::VirtualPlacer(const Cluster* cluster) {
for (const auto& device : devices_) {
if (str_util::Lowercase(device.first).find("gpu") != string::npos) {
default_device_ = device.first;
}
break;
}
}
}
}
const DeviceProperties& VirtualPlacer::get_device(const NodeDef& node) const {
string device = get_canonical_device_name(node);