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

Public Member Functions

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

Detailed Description

Definition at line 230 of file OpPrinter.cpp.

Member Function Documentation

◆ options()

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

Reimplemented from tfldump::OpPrinter.

Definition at line 233 of file OpPrinter.cpp.

234 {
235 if (auto *resize_params = op->builtin_options_as_ResizeNearestNeighborOptions())
236 {
237 os << " ";
238 os << std::boolalpha;
239 os << "align_corners(" << resize_params->align_corners() << ")";
240 os << std::noboolalpha;
241 os << std::endl;
242 }
243 }

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