(self, inputs, labels, output_num, weights)
return arcface_loss(
        inputs, labels, output_num, weights, s=s, m=m, limit_to_pi=limit_to_pi)
ArcFace layer.
ArcFace layer.
ArcFace layer .
def arcface_layer(self, inputs, labels, output_num, weights):
    ''' ArcFace layer. '''
    params = self.netconf['arcface_params']
    s = params['scale']
    m = params['margin']
    limit_to_pi = params['limit_to_pi']
    return arcface_loss(
        inputs, labels, output_num, weights, s=s, m=m, limit_to_pi=limit_to_pi)
def arcface_layer ( self , inputs , labels , output_num , weights ) : params = self . netconf [ 'arcface_params' ] s = params [ 'scale' ] m = params [ 'margin' ] limit_to_pi = params [ 'limit_to_pi' ] return arcface_loss ( inputs , labels , output_num , weights , s = s , m = m , limit_to_pi = limit_to_pi )