

def perform(self, node, inputs, outputs):
    (x,) = inputs
    (z,) = outputs
    if self.inplace:
        c = x
    else:
        c = x.copy()
    c.eliminate_zeros()
    z[0] = c

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