tensorflow::ops::QuantizedConv2D
#include <nn_ops.h>คำนวณคอนโวลูชัน 2 มิติ โดยใช้ข้อมูลอินพุต 4 มิติแบบควอนไทซ์และเทนเซอร์ตัวกรอง
สรุป
อินพุตเป็นเทนเซอร์แบบควอนไทซ์ โดยค่าต่ำสุดแสดงถึงจำนวนจริงของค่าต่ำสุดที่เกี่ยวข้อง และค่าสูงสุดแสดงถึงค่าสูงสุด ซึ่งหมายความว่าคุณสามารถตีความเอาต์พุตแบบควอนไทซ์ได้ในลักษณะเดียวกันเท่านั้น โดยคำนึงถึงค่าต่ำสุดและค่าสูงสุดที่ส่งคืนมา
ข้อโต้แย้ง:
- ขอบเขต: วัตถุ ขอบเขต
- ตัวกรอง: มิติความลึกของอินพุตของตัวกรองต้องตรงกับมิติความลึกของอินพุต
- min_input: ค่าทศนิยมที่แสดงถึงค่าอินพุตที่ถูกควอนไทซ์ต่ำสุด
- max_input: ค่าทศนิยมที่แสดงถึงค่าอินพุตที่ถูกควอนไทซ์สูงสุด
- min_filter: ค่าทศนิยมที่แสดงถึงค่าตัวกรองแบบควอนไทซ์ต่ำสุด
- max_filter: ค่าทศนิยมที่แสดงค่าสูงสุดของตัวกรองที่ถูกควอนไทซ์
- strides: ระยะก้าวของหน้าต่างเลื่อนสำหรับแต่ละมิติของเทนเซอร์อินพุต
- การเติมช่องว่าง: ประเภทของอัลกอริทึมการเติมช่องว่างที่จะใช้
คุณลักษณะเสริม (ดูที่ Attrs ):
- การขยาย: เทนเซอร์ 1 มิติ ความยาว 4 ปัจจัยการขยายสำหรับแต่ละมิติของ
inputหากตั้งค่าเป็น k > 1 จะมีการข้ามเซลล์ k-1 เซลล์ระหว่างแต่ละองค์ประกอบตัวกรองในมิตินั้น ลำดับของมิติจะถูกกำหนดโดยค่าของdata_formatดูรายละเอียดเพิ่มเติมด้านบน การขยายในมิติแบทช์และมิติความลึกต้องเป็น 1
การส่งคืนสินค้า:
-
Output - ค่า
Outputmin_output: ค่าทศนิยมที่แสดงถึงค่าเอาต์พุตที่ถูกควอนไทซ์ต่ำสุด - ค่าสูงสุด
Output(max_output): ค่าทศนิยมที่แสดงถึงค่าเอาต์พุตที่ถูกควอนไทซ์สูงสุด
ตัวสร้างและตัวทำลาย | |
|---|---|
QuantizedConv2D (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input filter, :: tensorflow::Input min_input, :: tensorflow::Input max_input, :: tensorflow::Input min_filter, :: tensorflow::Input max_filter, const gtl::ArraySlice< int > & strides, StringPiece padding) | |
QuantizedConv2D (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input filter, :: tensorflow::Input min_input, :: tensorflow::Input max_input, :: tensorflow::Input min_filter, :: tensorflow::Input max_filter, const gtl::ArraySlice< int > & strides, StringPiece padding, const QuantizedConv2D::Attrs & attrs) |
คุณลักษณะสาธารณะ | |
|---|---|
max_output | |
min_output | |
operation | |
output | |
ฟังก์ชันคงที่สาธารณะ | |
|---|---|
Dilations (const gtl::ArraySlice< int > & x) | |
OutType (DataType x) | |
โครงสร้าง | |
|---|---|
| tensorflow::ops::QuantizedConv2D::Attrs | ตัวเลือกการตั้งค่าแอตทริบิวต์สำหรับ QuantizedConv2D ( ไม่บังคับ) |
คุณลักษณะสาธารณะ
เอาต์พุตสูงสุด
::tensorflow::Output max_output
เอาต์พุตขั้นต่ำ
::tensorflow::Output min_output
การดำเนินการ
Operation operation
เอาต์พุต
::tensorflow::Output output
หน้าที่สาธารณะ
QuantizedConv2D
QuantizedConv2D( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input filter, ::tensorflow::Input min_input, ::tensorflow::Input max_input, ::tensorflow::Input min_filter, ::tensorflow::Input max_filter, const gtl::ArraySlice< int > & strides, StringPiece padding )
QuantizedConv2D
QuantizedConv2D( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input filter, ::tensorflow::Input min_input, ::tensorflow::Input max_input, ::tensorflow::Input min_filter, ::tensorflow::Input max_filter, const gtl::ArraySlice< int > & strides, StringPiece padding, const QuantizedConv2D::Attrs & attrs )
ฟังก์ชันคงที่สาธารณะ
การขยาย
Attrs Dilations( const gtl::ArraySlice< int > & x )
ประเภทเอาต์พุต
Attrs OutType( DataType x )