class_docstr: A manager of static schedules for a static chain.
  
  This is a container of the static schedules that are used by a static
  chain.
  
  Args:
      minimize_cache_size (bool): If `True`, attempt to reduce memory
      usage by clearing the cached schedules whenever the training
      mode changes (that is, whenever `chainer.config.train` changes
      value) or whenever the mini-batch size changes.
class_docstr_tok: ["A","manager","of","static","schedules","for","a","static","chain",".","This","is","a","container","of","the","static","schedules","that","are","used","by","a","static","chain",".","Args",":","minimize_cache_size","(","bool",")",":","If","`","True","`",",","attempt","to","reduce","memory","usage","by","clearing","the","cached","schedules","whenever","the","training","mode","changes","(","that","is",",","whenever","`","chainer.config.train","`","changes","value",")","or","whenever","the","mini-batch","size","changes","."]
docstr: Make in-use schedules available for use in next iteration.
  
  Set the in-use status of all schedules to "not in use" so that
  they can be reused in the next iteration.
  
  In the case that test mode is active
  (`chainer.config.train` is `False`) and the static chain corresponding
  to this manager was not called more than once in any iteration during
  training mode, then this method will be called automatically.
docstr_tok: ["Make","in-use","schedules","available","for","use","in","next","iteration",".","Set","the","in-use","status","of","all","schedules","to","``","not","in","use","''","so","that","they","can","be","reused","in","the","next","iteration",".","In","the","case","that","test","mode","is","active","(","`","chainer.config.train","`","is","`","False","`",")","and","the","static","chain","corresponding","to","this","manager","was","not","called","more","than","once","in","any","iteration","during","training","mode",",","then","this","method","will","be","called","automatically","."]
code: def end_forward(self):
      """Make in-use schedules available for use in next iteration.
  
      Set the in-use status of all schedules to "not in use" so that
      they can be reused in the next iteration.
  
      In the case that test mode is active
      (`chainer.config.train` is `False`) and the static chain corresponding
      to this manager was not called more than once in any iteration during
      training mode, then this method will be called automatically.
  
      """
      if not self.forward_over:
          for key in self.in_use_count:
              self.in_use_count[key] = 0
          self.forward_over = True
  
          if self.train_count > self.max_in_use_train:
              self.max_in_use_train = self.train_count
              if self.verbosity_level >= 2:
                  print(
                      "Maximum in-use schedules per training iteration: ",
                      self.max_in_use_train,
                  )
          self.train_count = 0
  
imports: import sys
  import weakref
  import numpy
  import chainer
  from chainer.backends import cuda
  import chainer.function_node
label_desc: Use image node_id 3 for calling the ScheduleManager obj's underlying member method code with example usage: obj.end_forward() without return types