

def make_node(self, x, y):
    if (x.type.dtype != y.type.dtype):
        raise NotImplementedError()
    if (not _is_sparse_variable(x)):
        raise TypeError(x)
    if ((x.type.format == 'csc') or (x.type.format == 'coo')):
        myformat = 'csc'
    elif (x.type.format == 'csr'):
        myformat = 'csr'
    else:
        raise NotImplementedError()
    inputs = [x, y]
    outputs = [SparseType(dtype=outputs.type.dtype, format=myformat)()]
    return gof.Apply(self, inputs, outputs)

dataset/ETHPy150Open rizar/attention-lvcsr/libs/Theano/theano/sparse/basic.py TrueDot.make_node/VarMisuse@128/161 `x`->`outputs`