在训练过程中增加了hinge loss。
tf.compat.v1.losses.hinge_loss( labels, #真实值 logits, #预测值 )
labels和 logits具有相同的shape。