tensorflow::ops::MaxPoolGradGradWithArgmax
#include <nn_ops.h>คำนวณค่าเกรเดียนต์อันดับสองของฟังก์ชันแม็กซ์พูลลิ่ง
สรุป
ข้อโต้แย้ง:
- ขอบเขต: วัตถุ ขอบเขต
- อินพุต: ข้อมูลป้อนเข้าดั้งเดิม
- grad: 4 มิติที่มีรูปร่าง
[batch, height, width, channels]การไล่ระดับสีเทียบกับอินพุตของmax_pool - argmax: ดัชนีของค่าสูงสุดที่เลือกสำหรับแต่ละเอาต์พุตของ
max_pool - ksize: ขนาดของหน้าต่างสำหรับแต่ละมิติของเทนเซอร์อินพุต
- strides: ระยะก้าวของหน้าต่างเลื่อนสำหรับแต่ละมิติของเทนเซอร์อินพุต
- การเติมช่องว่าง: ประเภทของอัลกอริทึมการเติมช่องว่างที่จะใช้
คุณลักษณะเสริม (ดูที่ Attrs ):
- include_batch_in_index: ระบุว่าจะรวมมิติแบทช์ในดัชนีแบบแบนของ
argmaxหรือไม่
การส่งคืนสินค้า:
-
Output: ค่าความชันของค่าความชันเทียบกับค่าอินพุตของmax_pool
ตัวสร้างและตัวทำลาย | |
|---|---|
MaxPoolGradGradWithArgmax (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input grad, :: tensorflow::Input argmax, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding) | |
MaxPoolGradGradWithArgmax (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input grad, :: tensorflow::Input argmax, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding, const MaxPoolGradGradWithArgmax::Attrs & attrs) |
คุณลักษณะสาธารณะ | |
|---|---|
operation | |
output | |
หน้าที่สาธารณะ | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
ฟังก์ชันคงที่สาธารณะ | |
|---|---|
IncludeBatchInIndex (bool x) | |
โครงสร้าง | |
|---|---|
| tensorflow::ops::MaxPoolGradGradWithArgmax::Attrs | ตัวเลือกการตั้งค่าแอตทริบิวต์สำหรับ MaxPoolGradGradWithArgmax |
คุณลักษณะสาธารณะ
การดำเนินการ
Operation operation
เอาต์พุต
::tensorflow::Output output
หน้าที่สาธารณะ
MaxPoolGradGradWithArgmax
MaxPoolGradGradWithArgmax( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input grad, ::tensorflow::Input argmax, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding )
MaxPoolGradGradWithArgmax
MaxPoolGradGradWithArgmax( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input grad, ::tensorflow::Input argmax, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding, const MaxPoolGradGradWithArgmax::Attrs & attrs )
โหนด
::tensorflow::Node * node() const
ตัวดำเนินการ::เทนเซอร์โฟลว์::อินพุต
operator::tensorflow::Input() const
ตัวดำเนินการ::เทนเซอร์โฟลว์::เอาต์พุต
operator::tensorflow::Output() const
ฟังก์ชันคงที่สาธารณะ
รวมชุดข้อมูลในดัชนี
Attrs IncludeBatchInIndex( bool x )