

def sp_zeros_like(x):
    '\n    Construct a sparse matrix of zeros.\n\n    Parameters\n    ----------\n    x\n        Sparse matrix to take the shape.\n\n    Returns\n    -------\n    A sparse matrix\n        The same as `x` with zero entries for all element.\n\n    '
    (_, _, indptr, shape) = csm_properties(x)
    return CSM(format=x.format)(data=numpy.array([], dtype=x.type.dtype), indices=numpy.array([], dtype='int32'), indptr=tensor.zeros_like(indptr), shape=x)

dataset/ETHPy150Open rizar/attention-lvcsr/libs/Theano/theano/sparse/basic.py sp_zeros_like/VarMisuse@80/182 `shape`->`x`