Skip to content

Commit

Permalink
Fix typehint bug
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanradev93 committed Jun 14, 2024
1 parent 522b25a commit de98e80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bayesflow/experimental/networks/lstnet/skip_recurrent.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class SkipRecurrentNet(keras.Model):
def __init__(
self,
hidden_dim: int = 256,
recurrent_type: str = "gru" | keras.Layer,
recurrent_type: str | keras.Layer = "gru",
bidirectional: bool = True,
input_channels: int = 64,
skip_steps: int = 4,
Expand Down

0 comments on commit de98e80

Please sign in to comment.