def __rmod__(self, other):
        return divmod(other, self)[1]
Scan function for case using masks
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/test/test_binop.py/Rat.__rmod__--crossover with--dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/sandbox/rnn/models/rnn.py/GRU.fprop_step_mask