tensorflow::ops::DataFormatVecPermute

#include <nn_ops.h>

ส่งคืนเวกเตอร์/เทนเซอร์ที่สลับตำแหน่งแล้วในรูปแบบข้อมูลปลายทางที่กำหนดให้

สรุป

หนึ่งในรูปแบบข้อมูลต้นฉบับ

ข้อโต้แย้ง:

  • ขอบเขต: วัตถุ ขอบเขต
  • x: เวกเตอร์ขนาด 4 หรือ เทนเซอร์ รูปร่าง (4, 2) ในรูปแบบข้อมูลต้นฉบับ

คุณลักษณะเสริม (ดูที่ Attrs ):

  • src_format: รูปแบบข้อมูลต้นฉบับ
  • dst_format: รูปแบบข้อมูลปลายทาง

การส่งคืนสินค้า:

  • Output : เวกเตอร์ขนาด 4 หรือ เทนเซอร์ รูปร่าง (4, 2) ในรูปแบบข้อมูลปลายทาง

ตัวสร้างและตัวทำลาย

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

คุณลักษณะสาธารณะ

operation
y

หน้าที่สาธารณะ

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

ฟังก์ชันคงที่สาธารณะ

DstFormat (StringPiece x)
SrcFormat (StringPiece x)

โครงสร้าง

tensorflow::ops::DataFormatVecPermute::Attrs

ตัวเลือกในการตั้งค่าแอตทริบิวต์สำหรับ DataFormatVecPermute

คุณลักษณะสาธารณะ

การดำเนินการ

Operation operation

y

::tensorflow::Output y

หน้าที่สาธารณะ

DataFormatVecPermute

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

DataFormatVecPermute

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

โหนด

::tensorflow::Node * node() const 

ตัวดำเนินการ::เทนเซอร์โฟลว์::อินพุต

 operator::tensorflow::Input() const 

ตัวดำเนินการ::เทนเซอร์โฟลว์::เอาต์พุต

 operator::tensorflow::Output() const 

ฟังก์ชันคงที่สาธารณะ

DstFormat

Attrs DstFormat(
  StringPiece x
)

รูปแบบแหล่งที่มา

Attrs SrcFormat(
  StringPiece x
)