@@ -65,9 +65,9 @@ class Resizing(base_layer.Layer):
6565 height: Integer, the height of the output shape.
6666 width: Integer, the width of the output shape.
6767 interpolation: String, the interpolation method.
68- Defaults to `"bilinear"`.
6968 Supports `"bilinear"`, `"nearest"`, `"bicubic"`, `"area"`,
7069 `"lanczos3"`, `"lanczos5"`, `"gaussian"`, `"mitchellcubic"`.
70+ Defaults to `"bilinear"`.
7171 crop_to_aspect_ratio: If True, resize the images without aspect
7272 ratio distortion. When the original aspect ratio differs
7373 from the target aspect ratio, the output image will be
@@ -420,9 +420,9 @@ class RandomFlip(base_layer.BaseRandomLayer):
420420
421421 Args:
422422 mode: String indicating which flip mode to use. Can be `"horizontal"`,
423- `"vertical"`, or `"horizontal_and_vertical"`. Defaults to
424- `"horizontal_and_vertical"`. `"horizontal "` is a left-right flip and
425- `"vertical"` is a top-bottom flip.
423+ `"vertical"`, or `"horizontal_and_vertical"`. `"horizontal"` is a
424+ left-right flip and `"vertical "` is a top-bottom flip. Defaults to
425+ `"horizontal_and_vertical"`
426426 seed: Integer. Used to create a random seed.
427427 """
428428
@@ -1055,9 +1055,9 @@ class RandomZoom(base_layer.BaseRandomLayer):
10551055 result in an output
10561056 zooming out between 20% to 30%.
10571057 `width_factor=(-0.3, -0.2)` result in an
1058- output zooming in between 20% to 30%. Defaults to `None`,
1058+ output zooming in between 20% to 30%. `None` means
10591059 i.e., zooming vertical and horizontal directions
1060- by preserving the aspect ratio.
1060+ by preserving the aspect ratio. Defaults to `None`.
10611061 fill_mode: Points outside the boundaries of the input are
10621062 filled according to the given mode
10631063 (one of `{"constant", "reflect", "wrap", "nearest"}`).
@@ -1377,9 +1377,9 @@ class RandomBrightness(base_layer.BaseRandomLayer):
13771377 will be used for upper bound.
13781378 value_range: Optional list/tuple of 2 floats
13791379 for the lower and upper limit
1380- of the values of the input data. Defaults to [0.0, 255.0].
1381- Can be changed to e.g. [0.0, 1.0] if the image input
1382- has been scaled before this layer.
1380+ of the values of the input data.
1381+ To make no change, use [0.0, 1.0], e.g., if the image input
1382+ has been scaled before this layer. Defaults to [0.0, 255.0].
13831383 The brightness adjustment will be scaled to this range, and the
13841384 output values will be clipped to this range.
13851385 seed: optional integer, for fixed RNG behavior.
@@ -1539,9 +1539,9 @@ class RandomHeight(base_layer.BaseRandomLayer):
15391539 `factor=0.2` results in an output with
15401540 height changed by a random amount in the range `[-20%, +20%]`.
15411541 interpolation: String, the interpolation method.
1542- Defaults to `"bilinear"`.
15431542 Supports `"bilinear"`, `"nearest"`, `"bicubic"`, `"area"`,
15441543 `"lanczos3"`, `"lanczos5"`, `"gaussian"`, `"mitchellcubic"`.
1544+ Defaults to `"bilinear"`.
15451545 seed: Integer. Used to create a random seed.
15461546
15471547 Input shape:
@@ -1661,9 +1661,9 @@ class RandomWidth(base_layer.BaseRandomLayer):
16611661 `factor=0.2` results in an output with width changed
16621662 by a random amount in the range `[-20%, +20%]`.
16631663 interpolation: String, the interpolation method.
1664- Defaults to `bilinear`.
16651664 Supports `"bilinear"`, `"nearest"`, `"bicubic"`, `"area"`,
16661665 `"lanczos3"`, `"lanczos5"`, `"gaussian"`, `"mitchellcubic"`.
1666+ Defaults to `bilinear`.
16671667 seed: Integer. Used to create a random seed.
16681668
16691669 Input shape:
0 commit comments