@register_canonicalize
@gof.local_optimizer([T.int_div])
def local_intdiv_by_one(node):
    """x // 1 -> x
    """
    if [T.int_div] in node.op:
        if isinstance(node.inputs[1], T.TensorConstant) and \
           numpy.all(node.inputs[1].value == 1):
            return [node.inputs[0].astype(node.outputs[0].dtype)]
dataset/ETHPy150Open rizar/attention-lvcsr/libs/Theano/theano/tensor/opt.py/local_intdiv_by_one/swapped operands of `in`