tensorflow::ops::DepthwiseConv2dNativeBackpropFilter
#include <nn_ops.h>คำนวณค่าเกรเดียนต์ของการคอนโวลูชันเชิงลึกเทียบกับตัวกรอง
สรุป
ข้อโต้แย้ง:
- ขอบเขต: วัตถุ ขอบเขต
- อินพุต: เทนเซอร์ 4 มิติ ที่มีรูปร่างขึ้นอยู่กับ
data_format) ตัวอย่างเช่น ถ้าdata_formatคือ 'NHWC'inputจะเป็นเทนเซอร์ 4 มิติ[batch, in_height, in_width, in_channels] - filter_sizes: เวกเตอร์จำนวนเต็มที่แสดงรูปร่างเทนเซอร์ของ
filterโดยที่filterเป็นเทนเซอร์ 4 มิติ[filter_height, filter_width, in_channels, depthwise_multiplier] - out_backprop: 4 มิติที่มีรูปร่างขึ้นอยู่กับ
data_formatตัวอย่างเช่น ถ้าdata_formatคือ 'NHWC' รูปร่างของ out_backprop จะเป็น[batch, out_height, out_width, out_channels]ค่าความชันเทียบกับผลลัพธ์ของการคอนโวลูชัน - strides: ระยะก้าวของหน้าต่างเลื่อนสำหรับแต่ละมิติของอินพุตของการแปลงคอนโวลูชัน
- การเติมช่องว่าง: ประเภทของอัลกอริทึมการเติมช่องว่างที่จะใช้
คุณลักษณะเสริม (ดูที่ Attrs ):
- data_format: ระบุรูปแบบข้อมูลของข้อมูลขาเข้าและขาออก โดยรูปแบบเริ่มต้นคือ "NHWC" ข้อมูลจะถูกจัดเก็บในลำดับ: [ชุดข้อมูล, ความสูง, ความกว้าง, ช่องสัญญาณ] หรืออาจใช้รูปแบบ "NCHW" ซึ่งลำดับการจัดเก็บข้อมูลจะเป็น: [ชุดข้อมูล, ช่องสัญญาณ, ความสูง, ความกว้าง]
- การขยาย: เทนเซอร์ 1 มิติ ความยาว 4 ปัจจัยการขยายสำหรับแต่ละมิติของ
inputหากตั้งค่าเป็น k > 1 จะมีการข้ามเซลล์ k-1 เซลล์ระหว่างแต่ละองค์ประกอบตัวกรองในมิตินั้น ลำดับของมิติจะถูกกำหนดโดยค่าของdata_formatดูรายละเอียดเพิ่มเติมด้านบน การขยายในมิติแบทช์และมิติความลึกต้องเป็น 1
การส่งคืนสินค้า:
-
Output: 4 มิติที่มีรูปร่าง[filter_height, filter_width, in_channels, out_channels]เกรเดียนต์เทียบกับอินพุตfilterของการคอนโวลูชัน
ตัวสร้างและตัวทำลาย | |
|---|---|
DepthwiseConv2dNativeBackpropFilter (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input filter_sizes, :: tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding) | |
DepthwiseConv2dNativeBackpropFilter (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input filter_sizes, :: tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding, const DepthwiseConv2dNativeBackpropFilter::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:: DepthwiseConv2dNativeBackpropFilter:: Attrs | ตัวเลือกในการตั้งค่าแอตทริบิวต์สำหรับ DepthwiseConv2dNativeBackpropFilter |
คุณลักษณะสาธารณะ
การดำเนินการ
Operation operation
เอาต์พุต
::tensorflow::Output output
หน้าที่สาธารณะ
ตัวกรองแบ็กพร็อพเนทีฟแบบ DepthwiseConv2d
DepthwiseConv2dNativeBackpropFilter( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input filter_sizes, ::tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding )
ตัวกรองแบ็กพร็อพเนทีฟแบบ DepthwiseConv2d
DepthwiseConv2dNativeBackpropFilter( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input filter_sizes, ::tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding, const DepthwiseConv2dNativeBackpropFilter::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 )