We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3eb6360 commit d266351Copy full SHA for d266351
neuralpredictors/layers/readouts/gaussian.py
@@ -294,9 +294,7 @@ def __init__(
294
torch.normal(mean=torch.ones(1, outdims), std=torch.ones(1, outdims))
295
)
296
elif self._regularizer_type != "l1":
297
- raise ValueError(
298
- f"regularizer_type should be 'l1' or 'adaptive_log_norm' but got {self._regularizer_type}"
299
- )
+ raise ValueError(f"regularizer_type should be 'l1' or 'adaptive_log_norm' but got {self._regularizer_type}")
300
301
if init_mu_range > 1.0 or init_mu_range <= 0.0 or init_sigma <= 0.0:
302
raise ValueError("either init_mu_range doesn't belong to [0.0, 1.0] or init_sigma_range is non-positive")
0 commit comments