Esse commit está contido em:
Taehoon Lee
2017-07-03 11:23:33 +09:00
commit de François Chollet
commit 59cd1c3994
2 arquivos alterados com 2 adições e 2 exclusões
+1 -1
Ver Arquivo
@@ -443,7 +443,7 @@ def train(run_name, start_epoch, stop_epoch, img_w):
# cuts down input size going into RNN:
inner = Dense(time_dense_size, activation=act, name='dense1')(inner)
# Two layers of bidirecitonal GRUs
# Two layers of bidirectional GRUs
# GRU seems to work as well, if not better than LSTM:
gru_1 = GRU(rnn_size, return_sequences=True, kernel_initializer='he_normal', name='gru1')(inner)
gru_1b = GRU(rnn_size, return_sequences=True, go_backwards=True, kernel_initializer='he_normal', name='gru1_b')(inner)
+1 -1
Ver Arquivo
@@ -583,7 +583,7 @@ class TestBackend(object):
assert_allclose(zero_list[i], z_list[i], atol=1e-05)
assert_allclose(zero_list[i + 1], zero_list[i + 1], atol=1e-05)
# cntk currently not support funciton in this way, so can't test as this
# cntk currently not support function in this way, so can't test as this
def test_function(self):
test_backend = [KTH, KTF]
val = np.random.random((4, 2))