class_docstr: Base class for callbacks.
  
  All custom callbacks should inherit from this class. The subclass
  may override any of the ``on_...`` methods. It is, however, not
  necessary to override all of them, since it's okay if they don't
  have any effect.
  
  Classes that inherit from this also gain the ``get_params`` and
  ``set_params`` method.
class_docstr_tok: ["Base","class","for","callbacks",".","All","custom","callbacks","should","inherit","from","this","class",".","The","subclass","may","override","any","of","the","``","on_","...","``","methods",".","It","is",",","however",",","not","necessary","to","override","all","of","them",",","since","it","'s","okay","if","they","don't","have","any","effect",".","Classes","that","inherit","from","this","also","gain","the","``","get_params","``","and","``","set_params","``","method","."]
docstr: Called at the end of each batch.
docstr_tok: ["Called","at","the","end","of","each","batch","."]
code: def on_batch_end(self, net, batch=None, training=None, **kwargs):
      """Called at the end of each batch."""
  
file_path: skorch/skorch/callbacks/base.py
imports: import warnings
  from sklearn.base import BaseEstimator
  from skorch.exceptions import SkorchWarning
label_desc: Use image node_id 7 for calling the Callback obj's underlying member method code with example usage: obj.on_batch_end(net, batch, training) without return types