tensorflow::ops::DataFormatDimMap

#include <nn_ops.h>

ส่งคืนดัชนีมิติในรูปแบบข้อมูลปลายทาง โดยพิจารณาจากดัชนีที่ป้อนเข้ามา

สรุป

รูปแบบข้อมูลต้นทาง

ข้อโต้แย้ง:

  • ขอบเขต: วัตถุ ขอบเขต
  • x: เทนเซอร์ ที่มีแต่ละองค์ประกอบเป็นดัชนีมิติในรูปแบบข้อมูลต้นฉบับ ต้องอยู่ในช่วง [-4, 4)

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

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

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

  • Output : เทนเซอร์ ที่มีแต่ละองค์ประกอบเป็นดัชนีมิติในรูปแบบข้อมูลปลายทาง

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

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

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

operation
y

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

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

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

DstFormat (StringPiece x)
SrcFormat (StringPiece x)

โครงสร้าง

tensorflow::ops::DataFormatDimMap::Attrs

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

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

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

Operation operation

y

::tensorflow::Output y

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

DataFormatDimMap

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

DataFormatDimMap

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

โหนด

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

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

DstFormat

Attrs DstFormat(
  StringPiece x
)

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

Attrs SrcFormat(
  StringPiece x
)