เทนเซอร์โฟลว์:: ปฏิบัติการ:: แม็กซ์พูลV2

#include <nn_ops.h>

ดำเนินการรวมสูงสุดกับอินพุต

สรุป

ข้อโต้แย้ง:

  • ขอบเขต: วัตถุ ขอบเขต
  • อินพุต: อินพุต 4-D เพื่อรวมเข้าด้วยกัน
  • ksize: ขนาดของหน้าต่างสำหรับแต่ละมิติของเทนเซอร์อินพุต
  • ความก้าวหน้า: ก้าวของหน้าต่างบานเลื่อนสำหรับแต่ละมิติของเทนเซอร์อินพุต
  • padding: ประเภทของอัลกอริธึมการเติมที่จะใช้

แอ็ตทริบิวต์ทางเลือก (ดู Attrs ):

  • data_format: ระบุรูปแบบข้อมูลของข้อมูลอินพุตและเอาต์พุต ด้วยรูปแบบเริ่มต้น "NHWC" ข้อมูลจะถูกจัดเก็บตามลำดับ: [batch, in_height, in_width, in_channels] หรืออีกทางหนึ่ง รูปแบบอาจเป็น "NCHW" ซึ่งเป็นลำดับการจัดเก็บข้อมูลเป็น: [batch, in_channels, in_height, in_width]

ผลตอบแทน:

  • Output : เทนเซอร์เอาท์พุตพูลสูงสุด

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

MaxPoolV2 (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input ksize, :: tensorflow::Input strides, StringPiece padding)
MaxPoolV2 (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input ksize, :: tensorflow::Input strides, StringPiece padding, const MaxPoolV2::Attrs & attrs)

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

operation
output

งานสาธารณะ

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

ฟังก์ชันคงที่สาธารณะ

DataFormat (StringPiece x)

โครงสร้าง

เทนเซอร์โฟลว์ :: ops :: MaxPoolV2 :: Attrs

ตัวตั้งค่าคุณลักษณะเสริมสำหรับ MaxPoolV2

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

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

Operation operation

เอาท์พุท

::tensorflow::Output output

งานสาธารณะ

แม็กซ์พูลV2

 MaxPoolV2(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input ksize,
  ::tensorflow::Input strides,
  StringPiece padding
)

แม็กซ์พูลV2

 MaxPoolV2(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input ksize,
  ::tensorflow::Input strides,
  StringPiece padding,
  const MaxPoolV2::Attrs & attrs
)

โหนด

::tensorflow::Node * node() const 

ตัวดำเนินการ::tensorflow::อินพุต

 operator::tensorflow::Input() const 

ตัวดำเนินการ::tensorflow::เอาต์พุต

 operator::tensorflow::Output() const 

ฟังก์ชันคงที่สาธารณะ

รูปแบบข้อมูล

Attrs DataFormat(
  StringPiece x
)