摘要: 1. 常用激活函数 1.1 阔值激活函数 当激活值大于0时为1,否则为0 由于导数在 x=0 时,不连续,所以不可以用于梯度下降训练 # Customize an threshold activation function def threshold(x): cond = tf.less(x, tf 阅读全文
posted @ 2020-11-27 18:33 落叶&不随风 阅读(356) 评论(0) 推荐(0) 编辑