I am new to tensorflow and I'm trying to concatenate 2 tensors with different shapes. The tensors have shape:
>>> a
# <tf.Tensor: id=38, shape=(30000, 943, 1), dtype=float64
>>> b
<tf.Tensor: id=2, shape=(30000, 260, 1), dtype=float64
Is it possible to concatenate them on axis=0 to obtain a tensor with shape (60000, ?, 1)? I tried to convert them to ragged tensors before concatenating:
a2 = tf.ragged.constant(a)
b2 = tf.ragged.constant(b)
c = tf.concat([a2, b2], axis=0)
but it did not work.