• Concatenates a list oftf.Tensor2Ds along an axis. See concat 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 |

    Parameters

    • tensors: (TensorLike | Tensor2D)[]

      A list of tf.Tensors to concatenate.

    • axis: number

      The axis to concatenate along.

    Returns Tensor2D

    The concatenated array.

Generated using TypeDoc