def visitClassicBatches(nn,data, it=1000): for c in range(it): cc = np.mod(c,len(data)); nnS.minibatch_fit(nn, data[cc][0], data[cc][1])
def visitClassicBatches(nn,data, labels, it=1000): for c in range(it): for cc in range(len(data)): nnS.minibatch_fit(nn, data[cc], labels[cc])