tensorflow::ops::DataFormatVecPermute

#include <nn_ops.h>

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

Bản tóm tắt

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

Luận điểm:

  • phạm vi: Một đối tượng Phạm vi
  • x: Vectơ có kích thước 4 hoặc Tensor có 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 Attrs ):

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

Trả về:

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

Hàm khởi tạo và hàm 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 khai

operation
y

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

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

Các hàm tĩnh công khai

DstFormat (StringPiece x)
SrcFormat (StringPiece x)

Cấu trúc

tensorflow::ops::DataFormatVecPermute::Attrs

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

Thuộc tính công khai

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 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

Các hàm tĩnh công khai

Định dạng Dst

Attrs DstFormat(
  StringPiece x
)

Định dạng nguồn

Attrs SrcFormat(
  StringPiece x
)