

def make_node(self, x, ind1, ind2):
    x = as_sparse_variable(x)
    assert (x.format in ['csr', 'csc'])
    ind1 = tensor.as_tensor_variable(ind1)
    ind2 = tensor.as_tensor_variable(ind2)
    assert ('int' in ind1.dtype)
    assert ('int' in ind2.dtype)
    return gof.Apply(self, [x, ind1, ind2], [theano.tensor.vector()])

dataset/ETHPy150Open rizar/attention-lvcsr/libs/Theano/theano/sparse/basic.py GetItem2Lists.make_node/original