def make_batches(samples_size, batch_size):
    nb_batch = int(np.ceil(float(batch_size)/samples_size))
    return [(i*batch_size, min(samples_size, (i+1)*batch_size)) for i in range(0, nb_batch)]
dataset/ETHPy150Open tflearn/tflearn/tflearn/utils.py/make_batches/swapped operands of `/`