摘要: 常用tensorflow函数 常量 t_1 = tf.constant(4) #4 t_2 = tf.constant([4,3,2]) #向量[4,3,2] zero_t = tf.zeros([2,3],tf.int32) #两行三列类型为int32的全0矩阵 ones_t = tf.ones( 阅读全文
posted @ 2020-12-04 14:50 slyuan 阅读(116) 评论(0) 推荐(0)