

def cast(variable, dtype):
    '\n    Cast sparse variable to the desired dtype.\n\n    Parameters\n    ----------\n    variable\n        Sparse matrix.\n    dtype\n        The dtype wanted.\n\n    Returns\n    -------\n    Same as `x` but having `dtype` as dtype.\n\n    Notes\n    -----\n    The grad implemented is regular, i.e. not structured.\n\n    '
    return Cast(variable)(variable)

dataset/ETHPy150Open rizar/attention-lvcsr/libs/Theano/theano/sparse/basic.py cast/VarMisuse@17/136 `dtype`->`variable`