Skip to content

Commit

Permalink
Allow gaussian_blur sigma to be a jax.Array.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 645018560
  • Loading branch information
PIXDev authored and PIXDev committed Jun 20, 2024
1 parent 07e9cb7 commit 2b741ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dm_pix/_src/augment.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ def flip_up_down(

def gaussian_blur(
image: chex.Array,
sigma: float,
sigma: chex.Numeric,
kernel_size: float,
*,
padding: str = "SAME",
Expand Down

0 comments on commit 2b741ee

Please sign in to comment.