def is_mul(var):
    if var.owner and var.owner.op == tensor.mul:
        return var.owner.inputs
    else:
        return None
Match a variable with `x * y * z * ...`.
dataset/ETHPy150Open rizar/attention-lvcsr/libs/Theano/theano/tensor/nnet/sigm.py/is_mul