message: Validate min and max arguments to `QuantizedResizeBilinear`.
diff: @@ -702,8 +702,14 @@ class QuantizedResizeBilinearOp : public OpKernel {
  }
  void Compute(OpKernelContext* context) override {
  - const float in_min = context->input(2).flat<float>()(0);
  - const float in_max = context->input(3).flat<float>()(0);
  + const auto& in_min_tensor = context->input(2);
  + OP_REQUIRES(context, TensorShapeUtils::IsScalar(in_min_tensor.shape()),
  + errors::InvalidArgument("min must be a scalar"));
  + const float in_min = in_min_tensor.flat<float>()(0);
  + const auto& in_max_tensor = context->input(3);
  + OP_REQUIRES(context, TensorShapeUtils::IsScalar(in_max_tensor.shape()),
  + errors::InvalidArgument("max must be a scalar"));
  + const float in_max = in_max_tensor.flat<float>()(0);
  ImageResizerState st(align_corners_, false);
  st.ValidateAndCreateOutput(context);
  