This question already has an answer here:
I know that
'X' on right-hand side is the input before you applied dropout. Now when you say
Dropout(0.5)(X), it means that you are randomly making the activation of 50% of the neurons in the input to zero.
Dropout(0.5) means which are making a new object of class Dropout and passing 0.5 in its constructor. But appending
X at the end of it? What does this mean in Python Syntax?
did this helps: stackoverflow.com/questions/42874825/…
Thanks, it did help.Rahul!