【发布时间】:2021-05-17 21:44:21
【问题描述】:
我有两个张量 os 形状 [2,1,30] 和 [2,181,30]。我想将它们附加为 [2,182,30] 的形状。有什么想法可以实现吗?
我不能使用tf.concat 或tf.stack,因为它们都会导致错误
tensorflow.python.framework.errors_impl.InvalidArgumentError: ConcatOp : Dimensions of inputs should match: shape[0] = [2,1,30] vs. shape[1] = [2,181,30]
[[{{node concat}}]]
【问题讨论】:
标签: stack append concatenation tensorflow2.0 tensor