Skip to content

Commit

Permalink
Remove dynamic=False when initializing Stft and Istft layers.
Browse files Browse the repository at this point in the history
  • Loading branch information
psobot authored Aug 8, 2024
1 parent 26e62b3 commit 34f825d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions realbook/layers/signal.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def __init__(
name: Name of the layer.
dtype: Type used in calcuation.
"""
super().__init__(trainable=False, name=name, dtype=dtype, dynamic=False)
super().__init__(trainable=False, name=name, dtype=dtype)
self.fft_length = fft_length
self.window_length = window_length if window_length else self.fft_length
self.hop_length = hop_length if hop_length else self.window_length // 4
Expand Down Expand Up @@ -171,7 +171,7 @@ def __init__(
name: Name of the layer.
dtype: Type used in calcuation.
"""
super().__init__(trainable=False, name=name, dtype=dtype, dynamic=False)
super().__init__(trainable=False, name=name, dtype=dtype)

# Because layer saves dtype as string???
self.dtypes_type = dtype
Expand Down

0 comments on commit 34f825d

Please sign in to comment.