docstr: Called at the end of an epoch.
  Subclasses should override for any actions to run. This function should only
  be called during TRAIN mode.
  Args:
      epoch: Integer, index of epoch.
      logs: Dict, metric results for this training epoch, and for the
        validation epoch if validation is performed. Validation result keys
        are prefixed with `val_`. For training epoch, the values of the
       `Model`'s metrics are returned. Example : `{'loss': 0.2, 'accuracy':
         0.7}`.
docstr_tok: ["Called","at","the","end","of","an","epoch",".","Subclasses","should","override","for","any","actions","to","run",".","This","function","should","only","be","called","during","TRAIN","mode",".","Args",":","epoch",":","Integer",",","index","of","epoch",".","logs",":","Dict",",","metric","results","for","this","training","epoch",",","and","for","the","validation","epoch","if","validation","is","performed",".","Validation","result","keys","are","prefixed","with","`","val_","`",".","For","training","epoch",",","the","values","of","the","`","Model","`","'s","metrics","are","returned",".","Example",":","`","{","'loss","'",":","0.2",",","'accuracy","'",":","0.7","}","`","."]
code: def on_epoch_end(self, epoch, logs=None):
      """Called at the end of an epoch.
      Subclasses should override for any actions to run. This function should only
      be called during TRAIN mode.
      Args:
          epoch: Integer, index of epoch.
          logs: Dict, metric results for this training epoch, and for the
            validation epoch if validation is performed. Validation result keys
            are prefixed with `val_`. For training epoch, the values of the
           `Model`'s metrics are returned. Example : `{'loss': 0.2, 'accuracy':
             0.7}`.
      """
      self.tf_callback.on_epoch_end(epoch, logs)
  
imports: import os
  import logging
  import shutil
  import tensorflow
  from bigdl.orca.learn.utils import get_replaced_path
  from bigdl.orca.data.file import put_local_files_with_prefix_to_remote, put_local_dir_tree_to_remote, put_local_file_to_remote
label_desc: Use image node_id 7 for calling the Callback obj's underlying member method code with example usage: obj.on_epoch_end(epoch, logs) without return types