Tensorflow2.0:进阶操做

目录 一 合并与分割 1.合并 拼接 tf.concat 含义:原有维度上的合并,不会增长新的维度 要求:任意维度上拼接,非拼接的维度长度要同样python a = tf.random.normal([4, 35, 8]) b = tf.random.normal([6, 35, 8]) # 第一个维度上的拼接 c = tf.concat([a, b], axis=0) # shape为[10,
相关文章
相关标签/搜索