Remove else branch

This commit is contained in:
Tzu-Wei Sung 2020-12-08 20:52:02 -08:00
parent a16abd4842
commit f3b09dcc6a

View File

@ -1479,12 +1479,9 @@ Status UniqueIdxShapeFn(InferenceContext* c) {
}
c->set_output(1, c->Vector(c->Dim(input, axis)));
return Status::OK();
} else {
return errors::InvalidArgument(
"axis does not support input tensors larger than 1 elements.");
}
return Status::OK();
return errors::InvalidArgument(
"axis does not support input tensors larger than 1 elements.");
}
} // namespace