Unverified Commit f3c1a172 authored by Wesley L Passos's avatar Wesley L Passos Committed by GitHub
Browse files

Fixing docstring in get_resize_output_image_size function (#27191)

parent 636f704d
...@@ -136,9 +136,9 @@ def get_resize_output_image_size( ...@@ -136,9 +136,9 @@ def get_resize_output_image_size(
image size is computed by keeping the aspect ratio of the input image size. image size is computed by keeping the aspect ratio of the input image size.
Args: Args:
image_size (`Tuple[int, int]`): input_image (`np.ndarray`):
The input image size. The image to resize.
size (`int`): size (`int` or `Tuple[int, int]` or `List[int]`):
The desired output size. The desired output size.
max_size (`int`, *optional*): max_size (`int`, *optional*):
The maximum allowed output size. The maximum allowed output size.
......
...@@ -135,9 +135,9 @@ def get_resize_output_image_size( ...@@ -135,9 +135,9 @@ def get_resize_output_image_size(
image size is computed by keeping the aspect ratio of the input image size. image size is computed by keeping the aspect ratio of the input image size.
Args: Args:
image_size (`Tuple[int, int]`): input_image (`np.ndarray`):
The input image size. The image to resize.
size (`int`): size (`int` or `Tuple[int, int]` or `List[int]`):
The desired output size. The desired output size.
max_size (`int`, *optional*): max_size (`int`, *optional*):
The maximum allowed output size. The maximum allowed output size.
......
...@@ -127,9 +127,9 @@ def get_resize_output_image_size( ...@@ -127,9 +127,9 @@ def get_resize_output_image_size(
image size is computed by keeping the aspect ratio of the input image size. image size is computed by keeping the aspect ratio of the input image size.
Args: Args:
image_size (`Tuple[int, int]`): input_image (`np.ndarray`):
The input image size. The image to resize.
size (`int`): size (`int` or `Tuple[int, int]` or `List[int]`):
The desired output size. The desired output size.
max_size (`int`, *optional*): max_size (`int`, *optional*):
The maximum allowed output size. The maximum allowed output size.
......
...@@ -133,9 +133,9 @@ def get_resize_output_image_size( ...@@ -133,9 +133,9 @@ def get_resize_output_image_size(
image size is computed by keeping the aspect ratio of the input image size. image size is computed by keeping the aspect ratio of the input image size.
Args: Args:
image_size (`Tuple[int, int]`): input_image (`np.ndarray`):
The input image size. The image to resize.
size (`int`): size (`int` or `Tuple[int, int]` or `List[int]`):
The desired output size. The desired output size.
max_size (`int`, *optional*): max_size (`int`, *optional*):
The maximum allowed output size. The maximum allowed output size.
......
...@@ -152,9 +152,9 @@ def get_resize_output_image_size( ...@@ -152,9 +152,9 @@ def get_resize_output_image_size(
image size is computed by keeping the aspect ratio of the input image size. image size is computed by keeping the aspect ratio of the input image size.
Args: Args:
image_size (`Tuple[int, int]`): input_image (`np.ndarray`):
The input image size. The image to resize.
size (`int`): size (`int` or `Tuple[int, int]` or `List[int]`):
The desired output size. The desired output size.
max_size (`int`, *optional*): max_size (`int`, *optional*):
The maximum allowed output size. The maximum allowed output size.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment