ONE - On-device Neural Engine
Loading...
Searching...
No Matches
circledump::Pool2DPrinter Class Reference
Collaboration diagram for circledump::Pool2DPrinter:

Public Member Functions

void options (const circle::Operator *op, std::ostream &os) const override
 

Detailed Description

Definition at line 179 of file OpPrinter.cpp.

Member Function Documentation

◆ options()

void circledump::Pool2DPrinter::options ( const circle::Operator *  op,
std::ostream &  os 
) const
inlineoverridevirtual

Reimplemented from circledump::OpPrinter.

Definition at line 182 of file OpPrinter.cpp.

183 {
184 if (auto pool_params = op->builtin_options_as_Pool2DOptions())
185 {
186 os << " ";
187 os << "Padding(" << EnumNamePadding(pool_params->padding()) << ") ";
188 os << "Stride.W(" << pool_params->stride_w() << ") ";
189 os << "Stride.H(" << pool_params->stride_h() << ") ";
190 os << "Filter.W(" << pool_params->filter_width() << ") ";
191 os << "Filter.H(" << pool_params->filter_height() << ") ";
192 os << "Activation("
193 << EnumNameActivationFunctionType(pool_params->fused_activation_function()) << ")";
194 os << std::endl;
195 }
196 }

The documentation for this class was generated from the following file: