class_docstr: Callback that records events into a `History` object.
  
  This callback is automatically applied to
  every Keras model. The `History` object
  gets returned by the `fit` method of models.
class_docstr_tok: ["Callback","that","records","events","into","a","`","History","`","object",".","This","callback","is","automatically","applied","to","every","Keras","model",".","The","`","History","`","object","gets","returned","by","the","`","fit","`","method","of","models","."]
code: def on_train_begin(self, logs=None):
      self.epoch = []
  
imports: from .callback import Callback
label_desc: Use image node_id 2 for calling the History obj's underlying member method code with example usage: obj.on_train_begin(logs) without return types