

def __init__(self, p, **kwargs):
    self.p = p
    if (0.0 < self.p < 1.0):
        self.uses_learning_phase = True
    self.supports_masking = True
    super(Dropout, self).__init__(**kwargs)

dataset/ETHPy150Open fchollet/keras/keras/layers/core.py Dropout.__init__/original