Skip to content

Commit

Permalink
Add test for reshaping unknown shapes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hans Gaiser committed Sep 25, 2017
1 parent d1a5a66 commit 0c85f58
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/keras/layers/core_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ def test_reshape():
kwargs={'target_shape': (1, -1)},
input_shape=(3, 2, 4))

layer_test(layers.Reshape,
kwargs={'target_shape': (-1, 1)},
input_shape=(None, None, 4))


@keras_test
def test_permute():
Expand Down

0 comments on commit 0c85f58

Please sign in to comment.