Include `contrast_factor` and `saturation_factor` range.

#Fixes https://github.com/tensorflow/tensorflow/issues/55374

PiperOrigin-RevId: 450715542
diff --git a/tensorflow/python/ops/image_ops_impl.py b/tensorflow/python/ops/image_ops_impl.py
index c5fe1ce..db0c27c 100644
--- a/tensorflow/python/ops/image_ops_impl.py
+++ b/tensorflow/python/ops/image_ops_impl.py
@@ -2246,6 +2246,8 @@
   channel and then adjusts each component `x` of each pixel to
   `(x - mean) * contrast_factor + mean`.
 
+  `contrast_factor` must be in the interval `(-inf, inf)`.
+
   Usage Example:
 
   >>> x = [[[1.0, 2.0, 3.0],
@@ -3086,6 +3088,8 @@
   converting the images to HSV and multiplying the saturation (S) channel by
   `saturation_factor` and clipping. The images are then converted back to RGB.
 
+  `saturation_factor` must be in the interval `[0, inf)`.
+
   Usage Example:
 
   >>> x = [[[1.0, 2.0, 3.0],