Concatenates tensors along one dimension.
tf.raw_ops.ConcatV2( values, axis, name=None )
Args | |
---|---|
values | A list of at least 2 Tensor objects with the same type. List of N Tensors to concatenate. Their ranks and types must match, and their sizes must match in all dimensions except concat_dim . |
axis | A Tensor . Must be one of the following types: int32 , int64 . 0-D. The dimension along which to concatenate. Must be in the range [-rank(values), rank(values)). |
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/ConcatV2