From 00c83f8ce49af913d96334b45b70c64c91715a9f Mon Sep 17 00:00:00 2001 From: Marcel Arpogaus <38564291+MArpogaus@users.noreply.github.com> Date: Thu, 18 Jul 2024 13:01:04 +0200 Subject: [PATCH] fix: set default bounds to (-4, 4) --- src/bernstein_flow/activations/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bernstein_flow/activations/__init__.py b/src/bernstein_flow/activations/__init__.py index b58f31b..7c8a07c 100644 --- a/src/bernstein_flow/activations/__init__.py +++ b/src/bernstein_flow/activations/__init__.py @@ -4,7 +4,7 @@ # author : Marcel Arpogaus # # created : 2024-07-12 15:12:18 (Marcel Arpogaus) -# changed : 2024-07-12 15:39:47 (Marcel Arpogaus) +# changed : 2024-07-18 13:00:56 (Marcel Arpogaus) # %% License ################################################################### # Copyright 2024 Marcel Arpogaus @@ -37,7 +37,7 @@ # %% functions ################################################################# def get_thetas_constrain_fn( - bounds: Tuple[Union[float, None], Union[float, None]] = (None, None), + bounds: Tuple[Union[float, None], Union[float, None]] = (-4, 4), smooth_bounds: bool = True, allow_flexible_bounds: bool = False, fn=tf.math.softplus,