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

Public Member Functions

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

Detailed Description

Definition at line 310 of file OpPrinter.cpp.

Member Function Documentation

◆ options()

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

Reimplemented from tfldump::OpPrinter.

Definition at line 313 of file OpPrinter.cpp.

314 {
315 if (auto *params = op->builtin_options_as_FakeQuantOptions())
316 {
317 os << " ";
318 os << "Min(" << params->min() << ") ";
319 os << "Max(" << params->max() << ") ";
320 os << "NumBits(" << params->num_bits() << ") ";
321 os << std::boolalpha;
322 os << "NarrowRange(" << params->narrow_range() << ") ";
323 os << std::noboolalpha;
324 os << std::endl;
325 }
326 }

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