随笔分类 - tensorflow
摘要:在tensorflow的使用中,经常会使用tf.reduce_mean,tf.reduce_sum等函数,在函数中,有一个reduction_indices参数,表示函数的处理维度,直接上图,一目了然: 需要注意的一点,在很多的时候,我们看到别人的代码中并没有reduction_indices这个参
阅读全文
摘要:tensorflow一些函数: 1、tf.ones(shape,type=tf.float32,name=None) tf.ones([2, 3], int32) ==> [[1, 1, 1], [1, 1, 1]] 2、tf.zeros(shape,type=tf.float32,name=Non
阅读全文

浙公网安备 33010602011771号