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