def _corrupt(self, x):
        """
        Corrupts a single tensor_like object.

        Parameters
        ----------
        x : tensor_like
            Theano symbolic representing a (mini)batch of inputs to be
            corrupted, with the first dimension indexing training
            examples and the second indexing data dimensions.

        Returns
        -------
        corrupted : tensor_like
            Theano symbolic representing the corresponding corrupted input.
        """
        # for stability
        if self.corruption_level < 1e-5:
            return x

        dropped = super(DropoutCorruptor, self)._corrupt(x)
        return 1.0 / (self.corruption_level - 1.0) * dropped
dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/corruption.py/DropoutCorruptor._corrupt/swapped operands of `-`