#NEWLINE# def __init__( self , clip = None , classprob_axis = 1 , log = True ) : #NEWLINE# #INDENT# '\n        - `clip`: if not `None`, clips the incoming probabilites into the range\n            [`clip`, 1-`clip`] in order to avoid numerical instabilities of the\n            `log` operation. This is not necessary in the 1-hot case.\n\n        - `classprob_axis`: The axis along which the class-probabilities reside,\n            i.e. this axis should have the same length as number of classes.\n\n        - `log` indicates whether to take the log or not. It can be useful to\n          set this to `False` if the output of the network is a log-probability\n          for stability reasons.\n        ' #NEWLINE# df . Criterion . __init__ ( self ) #NEWLINE# self . clip = clip #NEWLINE# self . axis = classprob_axis #NEWLINE# self . log = log