code: def on_train_batch_end(self, batch, logs=None):
      if batch % 10 == 0:
          val_acc = logs["acc"]
          aup.print_result((val_acc - 1.0) / (log(self.flops)))
  
file_path: auptimizer/Examples/early_stopping/mnist_keras/mnist.py
imports: import aup
  import tensorflow
  import numpy
  from tensorflow import keras
  from tensorflow.keras import layers
  from math import log
  import sys
label_desc: Use image node_id 1 for calling the CustomCallback obj's underlying member method code with example usage: obj.on_train_batch_end(batch, logs) without return types