เทนเซอร์โฟลว์:: ปฏิบัติการ:: QuantizedConv2D
#include <nn_ops.h>คำนวณการบิดแบบ 2D โดยให้อินพุต 4D แบบเชิงปริมาณและเทนเซอร์ตัวกรอง
สรุป
อินพุตเป็นเทนเซอร์เชิงปริมาณ โดยที่ค่าต่ำสุดแสดงถึงจำนวนจริงของค่าต่ำสุดที่เกี่ยวข้อง และค่าสูงสุดแสดงถึงค่าสูงสุด ซึ่งหมายความว่าคุณสามารถตีความเอาต์พุตเชิงปริมาณได้ในลักษณะเดียวกันเท่านั้น โดยคำนึงถึงค่าต่ำสุดและค่าสูงสุดที่ส่งคืนมาด้วย
ข้อโต้แย้ง:
- ขอบเขต: วัตถุ ขอบเขต
- ตัวกรอง: มิติข้อมูล input_deep ของตัวกรองต้องตรงกับมิติความลึกของอินพุต
- min_input: ค่าทศนิยมที่ค่าอินพุตเชิงปริมาณต่ำสุดเป็นตัวแทน
- max_input: ค่าทศนิยมที่ค่าอินพุตเชิงปริมาณสูงสุดเป็นตัวแทน
- min_filter: ค่าทศนิยมที่ค่าตัวกรองที่มีปริมาณต่ำสุดเป็นตัวแทน
- max_filter: ค่าทศนิยมที่ค่าตัวกรองที่มีปริมาณสูงสุดเป็นตัวแทน
- ความก้าวหน้า: ก้าวของหน้าต่างบานเลื่อนสำหรับแต่ละมิติของเทนเซอร์อินพุต
- padding: ประเภทของอัลกอริธึมการเติมที่จะใช้
 แอ็ตทริบิวต์ทางเลือก (ดู Attrs ):
-  การขยาย: เทนเซอร์ 1-D ที่มีความยาว 4. ปัจจัยการขยายสำหรับแต่ละมิติของ inputหากตั้งค่าเป็น k > 1 จะมีเซลล์ที่ข้าม k-1 ระหว่างองค์ประกอบตัวกรองแต่ละรายการในมิตินั้น ลำดับมิติถูกกำหนดโดยค่าของdata_formatโปรดดูรายละเอียดด้านบน การขยายขนาดแบทช์และความลึกต้องเป็น 1
ผลตอบแทน:
-  Outputเอาท์พุต
-  Outputmin_output: ค่าทศนิยมที่ค่าเอาต์พุตเชิงปริมาณต่ำสุดเป็นตัวแทน
-  Outputmax_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) | |
| โครงสร้าง | |
|---|---|
| เทนเซอร์โฟลว์ :: ops :: QuantizedConv2D :: Attrs | ตัวตั้งค่าคุณลักษณะเสริมสำหรับ QuantizedConv2D | 
คุณลักษณะสาธารณะ
max_output
::tensorflow::Output max_output
min_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 )