Course 4, week 3 assignment 2: Adding a dropout layer

Here’s the relevant docpage. Are you familiar with how to use “Layer” functions in TF/Keras? We’ve used them starting in the second assignment in C4 W1. Here’s a thread which talks in more detail about how the Sequential and Functional models work in Keras.

The one key thing to note is that this API uses the “drop” probability, instead of the “keep” probability as Prof Ng had us do it when we built it for ourselves in C2 W1.

1 Like