

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

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