def trainOnBatch(self, train_model, i, batch_size, num_train_batches, num_train_samples, learning_rate):
        raise NotImplementedError("Override this function.")
Subclass should override this function.
dataset/ETHPy150Open yuhaozhang/nnjm-global/code/train_util.py/TrainModel.trainOnBatch