Fixed a typo
PiperOrigin-RevId: 159038125
This commit is contained in:
parent
bea7255832
commit
e16d717e0b
@ -40,10 +40,10 @@ VirtualPlacer::VirtualPlacer(const Cluster* cluster) {
|
|||||||
for (const auto& device : devices_) {
|
for (const auto& device : devices_) {
|
||||||
if (str_util::Lowercase(device.first).find("gpu") != string::npos) {
|
if (str_util::Lowercase(device.first).find("gpu") != string::npos) {
|
||||||
default_device_ = device.first;
|
default_device_ = device.first;
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const DeviceProperties& VirtualPlacer::get_device(const NodeDef& node) const {
|
const DeviceProperties& VirtualPlacer::get_device(const NodeDef& node) const {
|
||||||
|
Loading…
Reference in New Issue
Block a user