tensorflow-sphereface-asoftmax
tensorflow-sphereface-asoftmax copied to clipboard
Why use the sign function in the cos(m*the)
cos_sign = tf.sign(cos_th)
res = 2*tf.multiply(tf.sign(cos_th), tf.square(cos_th)) - 1
what's the mean of the sign function in calculate the cos(m*th)
Sorry, I see. For th reason that demonstrated in the paper
@Erdos001 so what's the meaning? where should I look in the paper?
@Erdos001 can you point why the author add sign function?