Spec-Zone.ru › TensorFlow C++ 2.4

tensorflow::ops::TensorArrayConcat

#include <data_flow_ops.h>

Concat the elements from the TensorArray into value value.

Краткое описание

Принимает T элементы с формами

(n0 x d0 x d1 x ...), (n1 x d0 x d1 x ...), ..., (n(T-1) x d0 x d1 x ...)

и объединяет их в Tensor с формой:

```(n0 + n1 + ... + n(T-1) x d0 x d1 x ...)

  
    All elements must have the same shape (excepting the first dimension).
  
  
    Arguments:
* scope: A Scope object
* handle: The handle to a TensorArray.
* flow_in: A float scalar that enforces proper chaining of operations.
* dtype: The type of the elem that is returned.
  
  
    Optional attributes (see Attrs):
* element_shape_except0: The expected shape of an element, if known,
excluding the first dimension. Used to validate the shapes of
TensorArray elements. If this shape is not fully specified, concatenating
zero-size TensorArrays is an error.
  
  
    Returns:
* Output value: All of the elements in the TensorArray, concatenated along the first
axis.
* Output lengths: A vector of the row sizes of the original T elements in the
value output.  In the example above, this would be the values:
(n1, n2, ..., n(T-1)).  

  
  
Конструкторы и деструкторы
TensorArrayConcat(const ::tensorflow::Scope & scope, ::tensorflow::Input handle, ::tensorflow::Input flow_in, DataType dtype)
TensorArrayConcat(const ::tensorflow::Scope & scope, ::tensorflow::Input handle, ::tensorflow::Input flow_in, DataType dtype, const TensorArrayConcat::Attrs & attrs)
Общедоступные атрибуты
lengths
::tensorflow::Output
operation
Operation
value
::tensorflow::Output
Общедоступные статические функции
ElementShapeExcept0(PartialTensorShape x)
Attrs
Структуры
tensorflow::ops::TensorArrayConcat::Attrs

Необязательные настройки атрибутов для TensorArrayConcat.

Общедоступные атрибуты

lengths

::tensorflow::Output lengths

operation

Operation operation

значение

::tensorflow::Output value

Общедоступные функции

TensorArrayConcat

 TensorArrayConcat(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input handle,
  ::tensorflow::Input flow_in,
  DataType dtype
)

TensorArrayConcat

 TensorArrayConcat(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input handle,
  ::tensorflow::Input flow_in,
  DataType dtype,
  const TensorArrayConcat::Attrs & attrs
)

Общедоступные статические функции

ElementShapeExcept0

Attrs ElementShapeExcept0(
  PartialTensorShape x
)

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/cc/class/tensorflow/ops/tensor-array-concat

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API