dòng chảy :: hoạt động :: TensorArrayGather

#include <data_flow_ops.h>

Tập hợp các phần tử cụ thể từ TensorArray thành value đầu ra.

Tóm lược

Tất cả các phần tử được chọn bởi indices phải có cùng hình dạng.

Tranh luận:

  • phạm vi: Một đối tượng Phạm vi
  • xử lý: Xử lý một TensorArray .
  • chỉ số: Các vị trí trong TensorArray để đọc các phần tử tensor.
  • flow_in: Một đại lượng vô hướng float thực thi chuỗi hoạt động thích hợp.
  • dtype: Loại elem được trả về.

Các thuộc tính tùy chọn (xem Phần Attrs ):

  • element_shape: Hình dạng mong đợi của một phần tử, nếu biết. Được sử dụng để xác nhận hình dạng của các phần tử TensorArray . Nếu hình dạng này không được chỉ định đầy đủ, việc tập hợp các TensorArrays kích thước bằng không là một lỗi.

Lợi nhuận:

Người xây dựng và Người phá hủy

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

Thuộc tính công khai

operation
value

Chức năng công cộng

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

Các chức năng tĩnh công khai

ElementShape (PartialTensorShape x)

Cấu trúc

tensorflow :: ops :: TensorArrayGather :: Attrs

Bộ thiết lập thuộc tính tùy chọn cho TensorArrayGather .

Thuộc tính công khai

hoạt động

Operation operation

giá trị

::tensorflow::Output value

Chức năng công cộng

TensorArrayGather

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

TensorArrayGather

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

nút

::tensorflow::Node * node() const 

toán tử :: tensorflow :: Đầu vào

 operator::tensorflow::Input() const 

toán tử :: tensorflow :: Đầu ra

 operator::tensorflow::Output() const 

Các chức năng tĩnh công khai

ElementShape

Attrs ElementShape(
  PartialTensorShape x
)