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