Skip to content

Commit

Permalink
leaves: Fix leaf_kwargs None mapping
Browse files Browse the repository at this point in the history
See also: #4
  • Loading branch information
braun-steven committed Oct 30, 2023
1 parent 41c0fc2 commit 5b76d1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simple_einet/einet.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def _build_input_distribution(self, num_features_out: int):
num_channels=self.config.num_channels,
num_leaves=self.config.num_leaves,
num_repetitions=self.config.num_repetitions,
**self.config.leaf_kwargs,
**self.config.leaf_kwargs if self.config.leaf_kwargs is not None else {},
)

return FactorizedLeaf(
Expand Down

0 comments on commit 5b76d1f

Please sign in to comment.