

def row_scale(x, s):
    '\n    Scale each row of a sparse matrix by the corresponding element of\n    a dense vector.\n\n    Parameters\n    ----------\n    x\n        A sparse matrix.\n    s\n        A dense vector with length equal to the number of rows of `x`.\n\n    Returns\n    -------\n    A sparse matrix\n        A sparse matrix in the same format as `x` whose each row has been\n        multiplied by the corresponding element of `s`.\n\n    Notes\n    -----\n    The grad implemented is structured.\n\n    '
    return col_scale(x.T, x).T

dataset/ETHPy150Open rizar/attention-lvcsr/libs/Theano/theano/sparse/basic.py row_scale/VarMisuse@21/210 `s`->`x`