W3cubDocs

/TensorFlow C++

tensorflow::ops::Concat

#include <array_ops.h>

Concatenates tensors along one dimension.

Summary

Arguments:

  • scope: A Scope object
  • values: List of N Tensors to concatenate. Their ranks and types must match, and their sizes must match in all dimensions except concat_dim.
  • axis: 0-D. The dimension along which to concatenate. Must be in the range [-rank(values), rank(values)).

Returns:

  • Output: A Tensor with the concatenation of values stacked along the concat_dim dimension. This tensor's shape matches that of values except in concat_dim where it has the sum of the sizes.
Constructors and Destructors
Concat(const ::tensorflow::Scope & scope, ::tensorflow::InputList values, ::tensorflow::Input axis)
Public attributes
output
Public functions
node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const

Public attributes

output

::tensorflow::Output output

Public functions

Concat

 Concat(
  const ::tensorflow::Scope & scope,
  ::tensorflow::InputList values,
  ::tensorflow::Input axis
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

operator::tensorflow::Input() const 

operator::tensorflow::Output

operator::tensorflow::Output() const 

© 2017 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/api_docs/cc/class/tensorflow/ops/concat.html