เทนเซอร์โฟลว์:: ปฏิบัติการ:: ค่าเฉลี่ยพูล
#include <nn_ops.h>ดำเนินการรวมค่าเฉลี่ยกับอินพุต
สรุป
 แต่ละรายการใน output คือค่าเฉลี่ยของหน้าต่างขนาด ksize ที่สอดคล้องกันใน value
ข้อโต้แย้ง:
- ขอบเขต: วัตถุ ขอบเขต
-  ค่า: 4-D พร้อมรูปทรง [batch, height, width, channels]
-  ksize: ขนาดของหน้าต่างบานเลื่อนสำหรับ valueแต่ละมิติ
-  ความก้าวหน้า: ก้าวของหน้าต่างบานเลื่อนสำหรับ valueแต่ละมิติ
- padding: ประเภทของอัลกอริธึมการเติมที่จะใช้
 แอ็ตทริบิวต์ทางเลือก (ดู Attrs ):
- data_format: ระบุรูปแบบข้อมูลของข้อมูลอินพุตและเอาต์พุต ด้วยรูปแบบเริ่มต้น "NHWC" ข้อมูลจะถูกจัดเก็บตามลำดับ: [batch, in_height, in_width, in_channels] หรืออีกทางหนึ่ง รูปแบบอาจเป็น "NCHW" ซึ่งเป็นลำดับการจัดเก็บข้อมูลเป็น: [batch, in_channels, in_height, in_width]
ผลตอบแทน:
-  Output: เทนเซอร์เอาท์พุตพูลเฉลี่ย
| ตัวสร้างและผู้ทำลาย | |
|---|---|
| AvgPool (const :: tensorflow::Scope & scope, :: tensorflow::Input value, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding) | |
| AvgPool (const :: tensorflow::Scope & scope, :: tensorflow::Input value, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding, const AvgPool::Attrs & attrs) | 
| คุณลักษณะสาธารณะ | |
|---|---|
| operation | |
| output | |
| งานสาธารณะ | |
|---|---|
| node () const | ::tensorflow::Node * | 
| operator::tensorflow::Input () const | |
| operator::tensorflow::Output () const | |
| ฟังก์ชันคงที่สาธารณะ | |
|---|---|
| DataFormat (StringPiece x) | |
| โครงสร้าง | |
|---|---|
| เทนเซอร์โฟลว์:: ops:: AvgPool:: Attrs | ตัวตั้งค่าแอ็ตทริบิวต์ทางเลือกสำหรับ AvgPool | 
คุณลักษณะสาธารณะ
การดำเนินการ
Operation operation
เอาท์พุท
::tensorflow::Output output
งานสาธารณะ
ค่าเฉลี่ยพูล
AvgPool( const ::tensorflow::Scope & scope, ::tensorflow::Input value, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding )
ค่าเฉลี่ยพูล
AvgPool( const ::tensorflow::Scope & scope, ::tensorflow::Input value, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding, const AvgPool::Attrs & attrs )
โหนด
::tensorflow::Node * node() const
ตัวดำเนินการ::tensorflow::อินพุต
operator::tensorflow::Input() const
ตัวดำเนินการ::tensorflow::เอาต์พุต
operator::tensorflow::Output() const
ฟังก์ชันคงที่สาธารณะ
รูปแบบข้อมูล
Attrs DataFormat( StringPiece x )