摘要: 用tensorflow实现J(w)=w**2-10*w+25的微分结果 import numpy as npimport tensorflow as tf w=tf.Variable(0,dtype=tf.float32)cost=tf.add(tf.add(w**2,tf.multiply(-10 阅读全文
posted @ 2018-01-15 18:55 cecelia 阅读(145) 评论(0) 推荐(0) 编辑