Hi @edwardyu ,
I have added the line that you suggested. But my code can not reach that line. I got error as follow:
[[âInputLayerâ, [(None, 64)], 0], [âInputLayerâ, [(None, 30, 37)], 0], [âRepeatVectorâ, (None, 30, 64), 0, 30], [âBidirectionalâ, (None, 30, 64), 17920], [âConcatenateâ, (None, 30, 128), 0], [âDenseâ, (None, 30, 10), 1290, âtanhâ], [âDenseâ, (None, 30, 1), 11, âreluâ], [âActivationâ, (None, 30, 1), 0], [âDotâ, (None, 1, 64), 0], [âInputLayerâ, [(None, 64)], 0], [âLSTMâ, [(None, 64), (None, 64), (None, 64)], 33024, [(None, 1, 64), (None, 64), (None, 64)], âtanhâ], [âDenseâ, (None, 11), 715, âsoftmaxâ]]
Test failed at layer: 0
Expected value
[âInputLayerâ, [(None, 30, 37)], 0]
does not match the input value:
[âInputLayerâ, [(None, 64)], 0]
AssertionError Traceback (most recent call last)
in
34 model.summary()
35
â> 36 modelf_test(modelf)
in modelf_test(target)
31 assert len(model.outputs) == 10, f"Wrong output shape. Expected 10 != {len(model.outputs)}"
32
â> 33 comparator(summary(model), expected_summary)
34 model.summary()
35
~/work/W3A1/test_utils.py in comparator(learner, instructor)
25 â\n\n does not match the input value: \n\nâ,
26 colored(f"{a}", âredâ))
â> 27 raise AssertionError(âError in testâ)
28 layer += 1
29 print(colored(âAll tests passed!â, âgreenâ))
AssertionError: Error in test