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

Public Member Functions

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

Detailed Description

Definition at line 367 of file OpPrinter.cpp.

Member Function Documentation

◆ options()

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

Reimplemented from circledump::OpPrinter.

Definition at line 370 of file OpPrinter.cpp.

371 {
372 if (auto *params = op->builtin_options_as_GeluOptions())
373 {
374 os << " ";
375 os << std::boolalpha;
376 os << "approximate(" << params->approximate() << ") ";
377 os << std::noboolalpha;
378 os << std::endl;
379 }
380 }

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