摘要: Cost = tf.reduce_mean(tf.reduce_sum(tf.square(pY - Hypothesis),reduction_indices=[1])) #reduction_indices是指沿tensor的哪些维度求和 因为矩阵乘法之后不是一个数字,是一个多层数组 所以要用r 阅读全文
posted @ 2017-07-09 10:23 烧鸭饭真好吃 阅读(183) 评论(0) 推荐(0) 编辑