tensorflow::ops::QuantizedAvgPool

#include <nn_ops.h>

สร้างพูลเฉลี่ยของเทนเซอร์อินพุตสำหรับประเภทควอนไทซ์

สรุป

ข้อโต้แย้ง:

  • ขอบเขต: วัตถุ ขอบเขต
  • อินพุต: 4 มิติ ที่มีรูปร่าง [batch, height, width, channels]
  • min_input: ค่าทศนิยมที่แสดงถึงค่าอินพุตที่ถูกควอนไทซ์ต่ำสุด
  • max_input: ค่าทศนิยมที่แสดงถึงค่าอินพุตที่ถูกควอนไทซ์สูงสุด
  • ksize: ขนาดของหน้าต่างสำหรับแต่ละมิติของเทนเซอร์อินพุต ความยาวต้องเป็น 4 เพื่อให้ตรงกับจำนวนมิติของอินพุต
  • strides: ระยะก้าวของหน้าต่างเลื่อนสำหรับแต่ละมิติของเทนเซอร์อินพุต ความยาวต้องเป็น 4 เพื่อให้ตรงกับจำนวนมิติของอินพุต
  • การเติมช่องว่าง: ประเภทของอัลกอริทึมการเติมช่องว่างที่จะใช้

การส่งคืนสินค้า:

  • Output
  • ค่า Output min_output: ค่าทศนิยมที่แสดงถึงค่าเอาต์พุตที่ถูกควอนไทซ์ต่ำสุด
  • ค่าสูงสุด Output (max_output): ค่าทศนิยมที่แสดงถึงค่าเอาต์พุตที่ถูกควอนไทซ์สูงสุด

ตัวสร้างและตัวทำลาย

QuantizedAvgPool (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input min_input, :: tensorflow::Input max_input, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding)

คุณลักษณะสาธารณะ

max_output
min_output
operation
output

คุณลักษณะสาธารณะ

เอาต์พุตสูงสุด

::tensorflow::Output max_output

เอาต์พุตขั้นต่ำ

::tensorflow::Output min_output

การดำเนินการ

Operation operation

เอาต์พุต

::tensorflow::Output output

หน้าที่สาธารณะ

พูลค่าเฉลี่ยแบบควอนไทซ์

 QuantizedAvgPool(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input min_input,
  ::tensorflow::Input max_input,
  const gtl::ArraySlice< int > & ksize,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding
)