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

Public Member Functions

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

Detailed Description

Definition at line 213 of file OpPrinter.cpp.

Member Function Documentation

◆ options()

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

Reimplemented from tfldump::OpPrinter.

Definition at line 216 of file OpPrinter.cpp.

217 {
218 if (auto *resize_params = op->builtin_options_as_ResizeBilinearOptions())
219 {
220 os << " ";
221 os << std::boolalpha;
222 os << "align_corners(" << resize_params->align_corners() << ")";
223 os << "half_pixel_centers(" << resize_params->half_pixel_centers() << ")";
224 os << std::noboolalpha;
225 os << std::endl;
226 }
227 }

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