Skip to content

Commit

Permalink
🤖 Lint code
Browse files Browse the repository at this point in the history
  • Loading branch information
ivy-branch committed Dec 23, 2023
1 parent bd0c9ef commit 1a2cc6b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
6 changes: 3 additions & 3 deletions ivy/data_classes/array/experimental/layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -1316,9 +1316,8 @@ def adaptive_max_pool1d(
self: ivy.Array,
output_size: int,
) -> ivy.Array:
"""
Apply a 1D adaptive maximum pooling over an input signal composed of several
input planes.
"""Apply a 1D adaptive maximum pooling over an input signal composed of
several input planes.
Parameters
----------
Expand All @@ -1328,6 +1327,7 @@ def adaptive_max_pool1d(
dimension.
output_size
Spatial output size.
Returns
-------
The result of the pooling operation. Will have shape (N, C, L_out) or
Expand Down
15 changes: 8 additions & 7 deletions ivy/data_classes/container/experimental/layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2837,10 +2837,10 @@ def static_adaptive_max_pool1d(
prune_unapplied: Union[bool, ivy.Container] = False,
map_sequences: Union[bool, ivy.Container] = False,
) -> ivy.Container:
"""
ivy.Container static method variant of ivy.adaptive_max_pool1d. This method
simply wraps the function, and so the docstring for ivy.adaptive_max_pool1d also
applies to this method with minimal changes.
"""ivy.Container static method variant of ivy.adaptive_max_pool1d. This
method simply wraps the function, and so the docstring for
ivy.adaptive_max_pool1d also applies to this method with minimal
changes.
Parameters
----------
Expand All @@ -2850,6 +2850,7 @@ def static_adaptive_max_pool1d(
dimension.
output_size
Spatial output size.
Returns
-------
The result of the pooling operation. Will have shape (N, C, L_out) or
Expand All @@ -2874,16 +2875,16 @@ def adaptive_max_pool1d(
prune_unapplied: Union[bool, ivy.Container] = False,
map_sequences: Union[bool, ivy.Container] = False,
) -> ivy.Container:
"""
Apply a 1D adaptive maximum pooling over an input signal composed of several
input planes.
"""Apply a 1D adaptive maximum pooling over an input signal composed of
several input planes.
Parameters
----------
self
Input container.
output_size
Spatial output size.
Returns
-------
The result of the pooling operation.
Expand Down
6 changes: 3 additions & 3 deletions ivy/functional/ivy/experimental/layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -3242,9 +3242,8 @@ def adaptive_max_pool1d(
input: Union[ivy.Array, ivy.NativeArray],
output_size: int,
) -> ivy.Array:
"""
Apply a 1D adaptive maximum pooling over an input signal composed of several input
planes.
"""Apply a 1D adaptive maximum pooling over an input signal composed of
several input planes.
Parameters
----------
Expand All @@ -3254,6 +3253,7 @@ def adaptive_max_pool1d(
dimension.
output_size
Spatial output size.
Returns
-------
The result of the pooling operation. Will have shape (N, C, L_out) or
Expand Down

0 comments on commit 1a2cc6b

Please sign in to comment.