摘要: concat和stack tf.concat需要保证除了拼接的维度,其他维度都相同。 tf.stack需要保证所有的维度都相同。 tf.concat中axis参数是设置那个维度进行拼接。 tf.stack中axis是表示新创建的维度的位置。 tf.stack会创造一个维度(要求进行stack的ten 阅读全文
posted @ 2021-03-11 22:23 cyssmile 阅读(673) 评论(0) 推荐(0) 编辑