Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 609299243
  • Loading branch information
tensorflower-gardener committed Feb 22, 2024
1 parent c2fa7e6 commit 2a09127
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Expand Up @@ -35,7 +35,7 @@ Status DeviceResolverDistributed::GetDeviceAttributes(
return errors::NotFound(device, " not found");
}
*attributes = it->second;
return OkStatus();
return absl::OkStatus();
}

Status DeviceResolverDistributed::GetAllDeviceAttributes(
Expand All @@ -51,7 +51,7 @@ Status DeviceResolverDistributed::GetAllDeviceAttributes(
if (attributes->empty()) {
return errors::NotFound(task, " not found in the cache");
}
return OkStatus();
return absl::OkStatus();
}

Status DeviceResolverDistributed::UpdateDeviceAttributes(
Expand All @@ -70,7 +70,7 @@ Status DeviceResolverDistributed::UpdateDeviceAttributes(
"This usually means the remote worker has restarted");
}
}
return OkStatus();
return absl::OkStatus();
}

} // namespace tensorflow
Expand Up @@ -38,7 +38,7 @@ std::unique_ptr<Device> NewDevice(const string& type, const string& name) {
class FakeDevice : public Device {
public:
explicit FakeDevice(const DeviceAttributes& attr) : Device(nullptr, attr) {}
Status Sync() override { return OkStatus(); }
Status Sync() override { return absl::OkStatus(); }
Allocator* GetAllocator(AllocatorAttributes) override { return nullptr; }
};
DeviceAttributes attr;
Expand Down

0 comments on commit 2a09127

Please sign in to comment.