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

Public Member Functions

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

Detailed Description

Definition at line 184 of file OpPrinter.cpp.

Member Function Documentation

◆ options()

void tfldump::ReducerPrinter::options ( const tflite::Operator *  op,
std::ostream &  os 
) const
inlineoverridevirtual

Reimplemented from tfldump::OpPrinter.

Definition at line 187 of file OpPrinter.cpp.

188 {
189 if (auto reducer_params = op->builtin_options_as_ReducerOptions())
190 {
191 os << " ";
192 os << "keep_dims(" << reducer_params->keep_dims() << ") ";
193 os << std::endl;
194 }
195 }

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