Skip to content

Commit 3bc62a5

Browse files
committed
Fixed TF argument name mismatch
1 parent 0d70436 commit 3bc62a5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

fast_ulcnet_networks/tensorflow_version/FastULCNet.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,16 +148,16 @@ def freq_comfi_fastgrnn(self, x):
148148
Frequency-axis bidirectional Comfi-FastGRNN layer
149149
'''
150150
reshaped_x = tf.reshape(x, shape=(tf.shape(x)[0]*tf.shape(x)[1], tf.shape(x)[2], tf.shape(x)[3]))
151-
output_frnn = Bidirectional(ComfiFastGRNN(hidden_size=self.bidirectional_frnn_units, return_sequences=True))(reshaped_x)
151+
output_frnn = Bidirectional(ComfiFastGRNN(units=self.bidirectional_frnn_units, return_sequences=True))(reshaped_x)
152152
reshaped_output_frnn = tf.reshape(output_frnn, (tf.shape(x)[0], tf.shape(x)[1], tf.shape(x)[2], 2*self.bidirectional_frnn_units), name="reshape_output_frnn")
153153
return reshaped_output_frnn
154154

155155
def sub_band_comfi_fastgrnn(self, x):
156156
'''
157157
Subband temporal Comfi-FastGRNN layer.
158158
'''
159-
out_rnn_1 = ComfiFastGRNN(hidden_size=self.sub_band_rnn_units, return_sequences=True)(x)
160-
out_rnn_2 = ComfiFastGRNN(hidden_size=self.sub_band_rnn_units, return_sequences=True)(out_rnn_1)
159+
out_rnn_1 = ComfiFastGRNN(units=self.sub_band_rnn_units, return_sequences=True)(x)
160+
out_rnn_2 = ComfiFastGRNN(units=self.sub_band_rnn_units, return_sequences=True)(out_rnn_1)
161161
return out_rnn_2
162162

163163
def cnn_block(self, x):

0 commit comments

Comments
 (0)