def get_batch(self, xi, xv, y, batch_size, index):
    start = (index * batch_size)
    end = ((index + 1) * batch_size)
    end = (end if (end < len(y)) else len(y))
    return (xi[start:end], xv[start:end], [[y_] for y_ in y[start:end]])
def get_batch(self, xi, xv, y, batch_size, index):
    start = (index * batch_size)
    end = ((index + 1) * batch_size)
    end = (end if (end < len(y)) else len(y))
    return (xi[start:end], xv[start:end], [[y_] for y_ in y[start:end]])