Open ZhouJiaHuan opened 6 years ago
I didn't understand it neither
weight_decay = tf.multiply(tf.nn.l2_loss(var), wd, name='weight_loss') tf.add_to_collection('losses', weight_decay)
As the code say, there is a weight decay based on L2.
I didn't understand it neither