(self, scale=1, usebits=False)
Args:
            scale (float, optional): scale factor for the backpropagated error (default: 1)
            usebits (boolean, optional): Display costs in bits (default: False)
Args:
            scale (float, optional): scale factor for the backpropagated error (default: 1)
            usebits (boolean, optional): Display costs in bits (default: False)
Args : scale ( float optional ) : scale factor for the backpropagated error ( default : 1 ) usebits ( boolean optional ) : Display costs in bits ( default : False )
def __init__(self, scale=1, usebits=False):
        """
        Args:
            scale (float, optional): scale factor for the backpropagated error (default: 1)
            usebits (boolean, optional): Display costs in bits (default: False)
        """
        super(CrossEntropyMulti, self).__init__()
        self.usebits = usebits
        self.scale = scale
        self.logscale = np.float(1. / np.log(2.0) if usebits else 1.)
def __init__ ( self , scale = 1 , usebits = False ) : super ( CrossEntropyMulti , self ) . __init__ ( ) self . usebits = usebits self . scale = scale self . logscale = np . float ( 1. / np . log ( 2.0 ) if usebits else 1. )