

def output(self, input_value):
    max_possible_seed = 4000000000.0
    seed = np.random.randint(max_possible_seed)
    theano_random = T.shared_randomstreams.RandomStreams(seed)
    proba = (1.0 - self.proba)
    mask = seed.binomial(n=1, p=proba, size=input_value.shape, dtype=input_value.dtype)
    return ((mask * input_value) / proba)

dataset/ETHPy150Open itdxer/neupy/neupy/layers/transformations.py Dropout.output/VarMisuse@50/72 `theano_random`->`seed`