text: import keras
  
  from .generic_keras import _PlotLossesCallback
  
  
  class PlotLossesCallback(_PlotLossesCallback, keras.callbacks.Callback):
      """Pure keras callback"""
      def __init__(self, **kwargs):
          keras.callbacks.Callback.__init__(self)
          _PlotLossesCallback.__init__(self, **kwargs)
  