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

Public Member Functions

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

Detailed Description

Definition at line 314 of file OpPrinter.cpp.

Member Function Documentation

◆ options()

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

Reimplemented from circledump::OpPrinter.

Definition at line 317 of file OpPrinter.cpp.

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

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