Concatenates a list oftf.Tensor2Ds along an axis. See concat for details.
tf.Tensor2D
concat
For example, if: A: shape(2, 3) = | r1, g1, b1 | | r2, g2, b2 |
B: shape(2, 3) = | r3, g3, b3 | | r4, g4, b4 |
C = tf.concat2d([A, B], axis)
if axis = 0: C: shape(4, 3) = | r1, g1, b1 | | r2, g2, b2 | | r3, g3, b3 | | r4, g4, b4 |
if axis = 1: C = shape(2, 6) = | r1, g1, b1, r3, g3, b3 | | r2, g2, b2, r4, g4, b4 |
A list of tf.Tensors to concatenate.
tf.Tensor
The axis to concatenate along.
The concatenated array.
Generated using TypeDoc
Concatenates a list of
tf.Tensor2D
s along an axis. Seeconcat
for details.For example, if: A: shape(2, 3) = | r1, g1, b1 | | r2, g2, b2 |
B: shape(2, 3) = | r3, g3, b3 | | r4, g4, b4 |
C = tf.concat2d([A, B], axis)
if axis = 0: C: shape(4, 3) = | r1, g1, b1 | | r2, g2, b2 | | r3, g3, b3 | | r4, g4, b4 |
if axis = 1: C = shape(2, 6) = | r1, g1, b1, r3, g3, b3 | | r2, g2, b2, r4, g4, b4 |