Skip to content

Commit d266351

Browse files
committed
black
1 parent 3eb6360 commit d266351

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

neuralpredictors/layers/readouts/gaussian.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -294,9 +294,7 @@ def __init__(
294294
torch.normal(mean=torch.ones(1, outdims), std=torch.ones(1, outdims))
295295
)
296296
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-
)
297+
raise ValueError(f"regularizer_type should be 'l1' or 'adaptive_log_norm' but got {self._regularizer_type}")
300298

301299
if init_mu_range > 1.0 or init_mu_range <= 0.0 or init_sigma <= 0.0:
302300
raise ValueError("either init_mu_range doesn't belong to [0.0, 1.0] or init_sigma_range is non-positive")

0 commit comments

Comments
 (0)