tensorflow::ops::AvgPool3D
#include <nn_ops.h>ทำการรวมค่าเฉลี่ยแบบ 3 มิติบนข้อมูลอินพุต
สรุป
ข้อโต้แย้ง:
- ขอบเขต: วัตถุ ขอบเขต
- อินพุต: เทนเซอร์รูปร่าง
[batch, depth, rows, cols, channels]ที่จะใช้ในการพูล - ksize: เทนเซอร์ 1 มิติ ความยาว 5 ขนาดของหน้าต่างสำหรับแต่ละมิติของเทนเซอร์อินพุต ต้องมี
ksize[0] = ksize[4] = 1 - 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]
การส่งคืนสินค้า:
-
Output: เทนเซอร์ผลลัพธ์เฉลี่ยที่รวมกันแล้ว
ตัวสร้างและตัวทำลาย | |
|---|---|
AvgPool3D (const :: tensorflow::Scope & scope, :: tensorflow::Input input, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding) | |
AvgPool3D (const :: tensorflow::Scope & scope, :: tensorflow::Input input, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding, const AvgPool3D::Attrs & attrs) |
คุณลักษณะสาธารณะ | |
|---|---|
operation | |
output | |
หน้าที่สาธารณะ | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
ฟังก์ชันคงที่สาธารณะ | |
|---|---|
DataFormat (StringPiece x) | |
โครงสร้าง | |
|---|---|
| tensorflow::ops::AvgPool3D::Attrs | ตัวเลือกการตั้งค่าแอตทริบิวต์สำหรับ AvgPool3D ( ไม่จำเป็น) |
คุณลักษณะสาธารณะ
การดำเนินการ
Operation operation
เอาต์พุต
::tensorflow::Output output
หน้าที่สาธารณะ
อัฟก์พูล3ดี
AvgPool3D( const ::tensorflow::Scope & scope, ::tensorflow::Input input, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding )
อัฟก์พูล3ดี
AvgPool3D( const ::tensorflow::Scope & scope, ::tensorflow::Input input, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding, const AvgPool3D::Attrs & attrs )
โหนด
::tensorflow::Node * node() const
ตัวดำเนินการ::เทนเซอร์โฟลว์::อินพุต
operator::tensorflow::Input() const
ตัวดำเนินการ::เทนเซอร์โฟลว์::เอาต์พุต
operator::tensorflow::Output() const
ฟังก์ชันคงที่สาธารณะ
รูปแบบข้อมูล
Attrs DataFormat( StringPiece x )