def symb_forward(self, symb_input):
        if self._mode == 'train':
            mask = _srng.binomial(symb_input.shape,
                                  p=(1. - self.dropout),
                                  dtype=df.floatX
                                  )

            return symb_input / (1. - self.dropout) * mask
        else:
            return symb_input
dataset/ETHPy150Open lucasb-eyer/DeepFried2/DeepFried2/layers/Dropout.py/Dropout.symb_forward/original