

def sub(x, y):
    '\n    Subtract two matrices, at least one of which is sparse.\n\n    This method will provide the right op according\n    to the inputs.\n\n    Parameters\n    ----------\n    x\n        A matrix variable.\n    y\n        A matrix variable.\n\n    Returns\n    -------\n    A sparse matrix\n        `x` - `y`\n\n    Notes\n    -----\n    At least one of `x` and `y` must be a sparse matrix.\n\n    The grad will be structured only when one of the variable will be a dense\n    matrix.\n\n    '
    return (x + (- y))

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