Concatenates tensors along one dimension.
tf.raw_ops.Concat( concat_dim, values, name=None )
Args | |
---|---|
concat_dim | A Tensor of type int32 . 0-D. The dimension along which to concatenate. Must be in the range [0, rank(values)). |
values | A list of at least 2 Tensor objects with the same type. The N Tensors to concatenate. Their ranks and types must match, and their sizes must match in all dimensions except concat_dim . |
name | A name for the operation (optional). |
Returns | |
---|---|
A Tensor . Has the same type as values . |
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/python/tf/raw_ops/Concat