Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ASEM000 committed Sep 11, 2023
1 parent dbc51b5 commit 2e870a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Binary file added docs/_static/laplacian2d.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions serket/_src/image/filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,8 @@ def spatial_ndim(self) -> int:
class Laplacian2D(Laplacian2DBase):
"""Apply Laplacian filter to a channel-first image.
.. image:: ../_static/laplacian2d.png
Args:
kernel_size: size of the convolving kernel. Accepts int or tuple of two ints.
dtype: data type of the layer. Defaults to ``jnp.float32``.
Expand Down Expand Up @@ -478,6 +480,8 @@ def __call__(self, x: jax.Array) -> jax.Array:
class FFTLaplacian2D(Laplacian2DBase):
"""Apply Laplacian filter to a channel-first image using FFT.
.. image:: ../_static/laplacian2d.png
Args:
kernel_size: size of the convolving kernel. Accepts int or tuple of two ints.
dtype: data type of the layer. Defaults to ``jnp.float32``.
Expand Down

0 comments on commit 2e870a7

Please sign in to comment.