def validate(self, model, num_ngrams, batch_size, num_batches):
        raise NotImplementedError("Override this function.")
Subclass should override this function.
dataset/ETHPy150Open yuhaozhang/nnjm-global/code/train_util.py/TrainModel.validate