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

Public Member Functions

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

Detailed Description

Definition at line 293 of file OpPrinter.cpp.

Member Function Documentation

◆ options()

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

Reimplemented from circledump::OpPrinter.

Definition at line 296 of file OpPrinter.cpp.

297 {
298 if (auto conv_params = op->builtin_options_as_DepthwiseConv2DOptions())
299 {
300 os << " ";
301 os << "Padding(" << EnumNamePadding(conv_params->padding()) << ") ";
302 os << "Stride.W(" << conv_params->stride_w() << ") ";
303 os << "Stride.H(" << conv_params->stride_h() << ") ";
304 os << "DepthMultiplier(" << conv_params->depth_multiplier() << ") ";
305 os << "Dilation.W(" << conv_params->dilation_w_factor() << ") ";
306 os << "Dilation.H(" << conv_params->dilation_h_factor() << ") ";
307 os << "Activation("
308 << EnumNameActivationFunctionType(conv_params->fused_activation_function()) << ") ";
309 os << std::endl;
310 }
311 }

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