class_docstr: A trigger specifies a timespot or several timespots during training,
  and a corresponding action will be taken when the timespot(s) is reached.
  MaxEpoch is a trigger that triggers an action when training reaches
  the number of epochs specified by "max_epoch".
  Usually used as end_trigger when creating an Optimizer.
  
  
  >>> maxEpoch = MaxEpoch(2)
  creating: createZooMaxEpoch
class_docstr_tok: ["A","trigger","specifies","a","timespot","or","several","timespots","during","training",",","and","a","corresponding","action","will","be","taken","when","the","timespot","(","s",")","is","reached",".","MaxEpoch","is","a","trigger","that","triggers","an","action","when","training","reaches","the","number","of","epochs","specified","by","``","max_epoch","''",".","Usually","used","as","end_trigger","when","creating","an","Optimizer",".",">",">",">","maxEpoch","=","MaxEpoch","(","2",")","creating",":","createZooMaxEpoch"]
docstr: Create a MaxEpoch trigger.
  
  :param max_epoch: max_epoch
docstr_tok: ["Create","a","MaxEpoch","trigger",".",":","param","max_epoch",":","max_epoch"]
code: def __init__(self, max):
      """
      Create a MaxEpoch trigger.
  
      :param max_epoch: max_epoch
      """
      ZooTrigger.__init__(self, None, "float", max)
  
imports: from abc import abstractmethod
  from bigdl.dllib.utils.common import JavaValue
label_desc: Use image node_id 1 to create a new MaxEpoch object from inherited base classes: ZooTrigger with example: obj = MaxEpoch(max)