摘要: 1.reshape重置形状 a = tf.random.normal([4,28,28,3]) print("a:",a.shape,a.ndim) # 失去图片的行和列信息,可以理解为每个像素点(pixel) b = tf.reshape(a,[4,28*28,3]) print("b:",b.s 阅读全文
posted @ 2023-03-25 11:19 NAVYSUMMER 阅读(150) 评论(0) 推荐(0)
交流群 编程书籍