Remove an obsolete TODO since allowed_device has been deprecated.

PiperOrigin-RevId: 327712468
Change-Id: I3dcb4fe5aafd5073329fa678f871811998650622
This commit is contained in:
Yujing Zhang 2020-08-20 15:45:46 -07:00 committed by TensorFlower Gardener
parent f216fdce78
commit 44aa25ec46

View File

@ -137,7 +137,6 @@ Status ConvertVarHandlesToAotVarHandles(GraphDef* graph_def) {
const auto& it = node.attr().find("allowed_devices");
if (it != node.attr().end()) {
if (!it->second.list().s().empty()) {
// TODO(b/149512838): Support non-empty allowed devices.
return errors::InvalidArgument(
"VarHandleOp with non-empty allowed devices is not supported.");
}