class_docstr: Attributes:
      params (dict): Contains ``'epoch'`` and ``'steps_per_epoch'`` keys which are passed to the
          when training. Contains ``'steps'`` when evaluating. May contain other keys.
      model (Model): A reference to the :class:`~poutyne.Model` object which is using the callback.
class_docstr_tok: ["Attributes",":","params","(","dict",")",":","Contains","``","'epoch","'","``","and","``","'steps_per_epoch","'","``","keys","which","are","passed","to","the","when","training",".","Contains","``","'steps","'","``","when","evaluating",".","May","contain","other","keys",".","model","(","Model",")",":","A","reference","to","the",":","class",":","`","~poutyne.Model","`","object","which","is","using","the","callback","."]
docstr: Is called before the end of the validation batch.
  
  Args:
      batch_number (int): The batch number.
      logs (dict): Contains the following keys:
  
           * ``'batch'``: The batch number.
           * ``'size'``: The size of the batch as inferred by :func:`~Model.get_batch_size()`.
           * ``'time'``: The computation time of the batch.
           * ``val_loss'``: The loss of the batch.
           * Values of the batch metrics for the specific batch: One key for each type of metrics. Each key is
             prefixed by ``'val_'``. The metrics are also averaged.
  
  Example::
  
      logs = {'batch': 171, 'size': 32, 'time': 0.00310, 'val_loss': 1.95204, 'val_acc': 43.75}
docstr_tok: ["Is","called","before","the","end","of","the","validation","batch",".","Args",":","batch_number","(","int",")",":","The","batch","number",".","logs","(","dict",")",":","Contains","the","following","keys",":","*","``","'batch","'","``",":","The","batch","number",".","*","``","'size","'","``",":","The","size","of","the","batch","as","inferred","by",":","func",":","`","~Model.get_batch_size","(",")","`",".","*","``","'time","'","``",":","The","computation","time","of","the","batch",".","*","``","val_loss","'","``",":","The","loss","of","the","batch",".","*","Values","of","the","batch","metrics","for","the","specific","batch",":","One","key","for","each","type","of","metrics",".","Each","key","is","prefixed","by","``","'val_","'","``",".","The","metrics","are","also","averaged",".","Example",":",":","logs","=","{","'batch","'",":","171",",","'size","'",":","32",",","'time","'",":","0.00310",",","'val_loss","'",":","1.95204",",","'val_acc","'",":","43.75","}"]
code: def on_valid_batch_end(self, batch_number: int, logs: Dict):
      """
      Is called before the end of the validation batch.
  
      Args:
          batch_number (int): The batch number.
          logs (dict): Contains the following keys:
  
               * ``'batch'``: The batch number.
               * ``'size'``: The size of the batch as inferred by :func:`~Model.get_batch_size()`.
               * ``'time'``: The computation time of the batch.
               * ``val_loss'``: The loss of the batch.
               * Values of the batch metrics for the specific batch: One key for each type of metrics. Each key is
                 prefixed by ``'val_'``. The metrics are also averaged.
  
      Example::
  
          logs = {'batch': 171, 'size': 32, 'time': 0.00310, 'val_loss': 1.95204, 'val_acc': 43.75}
      """
      pass
  
imports: from typing import Dict, Sequence
label_desc: Use image node_id 9 for calling the Callback obj's underlying member method code with example usage: obj.on_valid_batch_end(batch_number, logs) without return types