[英]Tensorflow: stack (m, n, k, p) and (m, n, 1, p) tensors along the axis=2
I have to stack (m, n, k, p) and (m, n, 1, p) tensors along the axis=2. 我必须沿轴= 2堆叠(m,n,k,p)和(m,n,1,p)张量。
tf.pack
can only manage tensors of the same shape. tf.pack
只能管理相同形状的张量。
I've tried to use tf.unpack
but it also doesn't work. 我尝试使用
tf.unpack
但它也不起作用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.