

def _kmap_eq(a, b):
    if ((a is None) and (b is None)):
        return True
    if ((a is None) or (b is None)):
        return False
    return numpy.all((a == b))

dataset/ETHPy150Open rizar/attention-lvcsr/libs/Theano/theano/sparse/basic.py _kmap_eq/original