def _is_sparse_variable(x):
    if not isinstance(x, gof.Variable):
        raise NotImplementedError("this function should only be called on "
                                  "*variables* (of type sparse.SparseType "
                                  "or tensor.TensorType, for instance), not ",
                                  x)
    return isinstance(x.type, SparseType)
Returns list of ($r, $a, $b)
dataset/ETHPy150Open rizar/attention-lvcsr/libs/Theano/theano/sparse/basic.py/_is_sparse_variable--crossover with--dataset/ETHPy150Open skyostil/tracy/src/generator/Cheetah/Tools/MondoReport.py/MondoReport.page