© 1999-2048 dssz.net 粤ICP备11031372号
[其它] TensorFlow2.0:张量的合并与分割实例
说明:** 一 tf.concat( ) 函数–合并 ** In [2]: a = tf.ones([4,35,8]) In [3]: b = tf.ones([2,35,8]) In [4]: c = tf.concat([a,b],axis=0) In [5]: c.shape Out[5]: TensorShape([6, 35, 8]) In<weixin_38528888> 上传 | 大小:32kb