Skip to content

Commit ccf27f6

Browse files
committed
test dynamic rnn with fake data and test saving and restoring of dynamic rnn
1 parent 6173d1a commit ccf27f6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/layers/test_layers_recurrent.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -920,6 +920,9 @@ def forward(self, x):
920920
loss = tl.cost.mean_squared_error(pred_y, self.data_y)
921921
print("MODEL RESTORE W loss %f" % (loss))
922922

923+
import os
924+
os.remove(filename)
925+
923926

924927

925928
if __name__ == '__main__':

0 commit comments

Comments
 (0)