I just wanted to flag for the mentors that I incorrectly specified the creation of a Dense layer in Step 2.C of cell UNQ_C2, but still got an “All tests passed!” response. The error propogated to later in the assignment, where exceptions were thrown and I was able to diagnose.
The output from the Unit Test Cell follwing UNQ_C2 with the incorrect specification is shown below. I think it is pretty clear from the output how I misspecified Step 2.C from that bolded bits of the output below; if not, let me know.
[[‘InputLayer’, [(None, 30, 37)], 0],
[‘InputLayer’, [(None, 64)], 0],
[‘Bidirectional’, (None, 30, 64), 17920],
[‘RepeatVector’, (None, 30, 64), 0, 30],
[‘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’],
[‘Dense’, (None, 11), 715, ‘softmax’],
[‘Dense’, (None, 11), 715, ‘softmax’],
[‘Dense’, (None, 11), 715, ‘softmax’],
[‘Dense’, (None, 11), 715, ‘softmax’],
[‘Dense’, (None, 11), 715, ‘softmax’],
[‘Dense’, (None, 11), 715, ‘softmax’],
[‘Dense’, (None, 11), 715, ‘softmax’],
[‘Dense’, (None, 11), 715, ‘softmax’],
[‘Dense’, (None, 11), 715, ‘softmax’]]
All tests passed!