

def perform(self, node, inputs, outputs):
    (x,) = inputs
    (out,) = outputs
    out[0] = SparseType.format_cls[self.format](x)

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