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

Public Member Functions

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

Detailed Description

Definition at line 362 of file OpPrinter.cpp.

Member Function Documentation

◆ options()

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

Reimplemented from tfldump::OpPrinter.

Definition at line 365 of file OpPrinter.cpp.

366 {
367 if (auto *params = op->builtin_options_as_GeluOptions())
368 {
369 os << " ";
370 os << "approximate(" << params->approximate() << ") ";
371 }
372 }

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