I am using dropout in neural network model in keras. Little bit code is like
model.add(Dropout(0.5)) model.add(Dense(classes))
For testing,
Dropout removes certain neurons form play, and to compensate for that we usually take one of two ways.
And keras uses the second form of correction as you can see here