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.
This line 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?