เทนเซอร์โฟลว์:: ออปส์:: คอนโวลูชัน3D

#include <nn_ops.h>

คำนวณคอนโวลูชัน 3 มิติ โดยใช้ input และเทนเซอร์ filter 5 มิติ

สรุป

ในด้านการประมวลผลสัญญาณ การหาความสัมพันธ์ไขว้ (cross-correlation) คือการวัดความคล้ายคลึงกันของรูปคลื่นสองรูป โดยพิจารณาจากค่าหน่วงเวลาที่ใช้กับรูปคลื่นรูปหนึ่ง ซึ่งเรียกอีกอย่างว่า ผลคูณดอทแบบเลื่อน (sliding dot product) หรือ ผลคูณภายในแบบเลื่อน (sliding inner-product)

Conv3D ของเราใช้รูปแบบหนึ่งของการหาความสัมพันธ์ไขว้ (cross-correlation)

ข้อโต้แย้ง:

  • ขอบเขต: วัตถุ ขอบเขต
  • อินพุต: รูปร่าง [batch, in_depth, in_height, in_width, in_channels]
  • ตัวกรอง: รูปร่าง [filter_depth, filter_height, filter_width, in_channels, out_channels] in_channels เข้าต้องตรงกันระหว่าง input และ filter
  • strides: เทนเซอร์ 1 มิติ ความยาว 5 ค่า stride ของหน้าต่างเลื่อนสำหรับแต่ละมิติของ input ต้องมี strides[0] = strides[4] = 1
  • การเติมช่องว่าง: ประเภทของอัลกอริทึมการเติมช่องว่างที่จะใช้

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

  • data_format: รูปแบบข้อมูลของข้อมูลขาเข้าและขาออก โดยค่าเริ่มต้นจะใช้รูปแบบ "NDHWC" ซึ่งข้อมูลจะถูกจัดเก็บตามลำดับดังนี้: [batch, in_depth, in_height, in_width, in_channels] หรืออาจใช้รูปแบบ "NCDHW" ซึ่งลำดับการจัดเก็บข้อมูลจะเป็น: [batch, in_channels, in_depth, in_height, in_width]
  • การขยาย: เทนเซอร์ 1 มิติ ความยาว 5 ปัจจัยการขยายสำหรับแต่ละมิติของ input หากตั้งค่าเป็น k > 1 จะมีการข้ามเซลล์ k-1 เซลล์ระหว่างแต่ละองค์ประกอบตัวกรองในมิตินั้น ลำดับของมิติจะถูกกำหนดโดยค่าของ data_format ดูรายละเอียดเพิ่มเติมด้านบน การขยายในมิติแบทช์และมิติความลึกต้องเป็น 1

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

  • Output : เทนเซอร์เอาต์พุต

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

Conv3D (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input filter, const gtl::ArraySlice< int > & strides, StringPiece padding)
Conv3D (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input filter, const gtl::ArraySlice< int > & strides, StringPiece padding, const Conv3D::Attrs & attrs)

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

operation
output

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

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

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

DataFormat (StringPiece x)
Dilations (const gtl::ArraySlice< int > & x)

โครงสร้าง

tensorflow::ops::Conv3D::Attrs

ตัวเลือกการตั้งค่าแอตทริบิวต์สำหรับ Conv3D ( ไม่จำเป็น)

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

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

Operation operation

เอาต์พุต

::tensorflow::Output output

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

คอนวีดี

 Conv3D(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input filter,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding
)

คอนวีดี

 Conv3D(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input filter,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding,
  const Conv3D::Attrs & attrs
)

โหนด

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

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

รูปแบบข้อมูล

Attrs DataFormat(
  StringPiece x
)

การขยาย

Attrs Dilations(
  const gtl::ArraySlice< int > & x
)