tf.concat()详解

tensorflow中用来拼接张量的函数tf.concat(),用法:python tf.concat([tensor1, tensor2, tensor3,...], axis) 先给出tf源代码中的解释:数组 t1 = [[1, 2, 3], [4, 5, 6]] t2 = [[7, 8, 9], [10, 11, 12]] tf.concat([t1, t2], 0) # [[1,
相关文章
相关标签/搜索