Remove else branch
This commit is contained in:
parent
a16abd4842
commit
f3b09dcc6a
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user