

def perform(self, node, inputs, outputs):
    (x,) = inputs
    (out,) = outputs
    if _is_dense(x):
        print('WARNING: You just called DenseFromSparse on a dense matrix.', file=sys.stderr)
        out[0] = x
    else:
        out[0] = x.toarray()
    assert _is_dense(out[0])

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