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

#include <nn_ops.h>

Trả về vectơ / tensor hoán vị ở định dạng dữ liệu đích đã cho.

Tóm lược

một ở định dạng dữ liệu nguồn.

Tranh luận:

  • phạm vi: Một đối tượng Phạm vi
  • x: Vectơ có kích thước 4 hoặc Tensor của hình dạng (4, 2) ở định dạng dữ liệu nguồn.

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

  • src_format: định dạng dữ liệu nguồn.
  • dst_format: định dạng dữ liệu đích.

Lợi nhuận:

  • Output : Vector có kích thước 4 hoặc Tensor của hình dạng (4, 2) ở định dạng dữ liệu đích.

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

DataFormatVecPermute (const :: tensorflow::Scope & scope, :: tensorflow::Input x)
DataFormatVecPermute (const :: tensorflow::Scope & scope, :: tensorflow::Input x, const DataFormatVecPermute::Attrs & attrs)

Thuộc tính công cộng

operation
y

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

DstFormat (StringPiece x)
SrcFormat (StringPiece x)

Cấu trúc

tensorflow :: ops :: DataFormatVecPermute :: Attrs

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

Thuộc tính công cộng

hoạt động

Operation operation

y

::tensorflow::Output y

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

DataFormatVecPermute

 DataFormatVecPermute(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x
)

DataFormatVecPermute

 DataFormatVecPermute(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x,
  const DataFormatVecPermute::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

DstFormat

Attrs DstFormat(
  StringPiece x
)

SrcFormat

Attrs SrcFormat(
  StringPiece x
)