

def make_node(self, x, y, p):
    x = tensor.as_tensor_variable(x)
    y = tensor.as_tensor_variable(y)
    p = as_sparse_variable(p)
    assert (p.format in ['csr', 'csc'])
    if (not _is_sparse_variable(p)):
        raise TypeError(p)
    dtype_out = scalar.upcast(x.type.dtype, y.type.dtype, p.type.dtype)
    return gof.Apply(y, [x, y, p], [p.type()])

dataset/ETHPy150Open rizar/attention-lvcsr/libs/Theano/theano/sparse/basic.py SamplingDot.make_node/VarMisuse@102/126 `self`->`y`