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

Public Member Functions

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

Detailed Description

Definition at line 130 of file OpPrinter.cpp.

Member Function Documentation

◆ options()

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

Reimplemented from circledump::OpPrinter.

Definition at line 133 of file OpPrinter.cpp.

134 {
135 if (auto conv_params = op->builtin_options_as_Conv2DOptions())
136 {
137 os << " ";
138 os << "Padding(" << EnumNamePadding(conv_params->padding()) << ") ";
139 os << "Stride.W(" << conv_params->stride_w() << ") ";
140 os << "Stride.H(" << conv_params->stride_h() << ") ";
141 os << "Dilation.W(" << conv_params->dilation_w_factor() << ") ";
142 os << "Dilation.H(" << conv_params->dilation_h_factor() << ") ";
143 os << "Activation("
144 << EnumNameActivationFunctionType(conv_params->fused_activation_function()) << ")";
145 os << std::endl;
146 }
147 }

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