In shape function of QuantizedReluX, `max_value` and
`min_features` have shape validation but not `max_features`.
This fix add restriction to `max_features` as well.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
ShapeHandle unused;
TF_RETURN_IF_ERROR(c->WithRank(c->input(1), 0, &unused));
TF_RETURN_IF_ERROR(c->WithRank(c->input(2), 0, &unused));
+ TF_RETURN_IF_ERROR(c->WithRank(c->input(3), 0, &unused));
c->set_output(1, c->Scalar());
c->set_output(2, c->Scalar());
return Status::OK();