tensorflow: loss函数 损失函数:loss = tf.reduce_sum(tf.select(tf.greater(y,y_), (y-y_) * loss_more, (y-y_) * loss_less))优化器:train_step = tf.train.AdamOptimizier(0.001).minimize(loss) 深度学习 2024-01-25 54 点赞 0 评论 81 浏览