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

Public Member Functions

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

Detailed Description

Definition at line 479 of file OpPrinter.cpp.

Member Function Documentation

◆ options()

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

Reimplemented from tfldump::OpPrinter.

Definition at line 482 of file OpPrinter.cpp.

483 {
484 if (auto *params = op->builtin_options_as_OneHotOptions())
485 {
486 os << " ";
487 os << "Axis(" << params->axis() << ") ";
488
489 os << std::endl;
490 }
491 }

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