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

Public Member Functions

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

Detailed Description

Definition at line 375 of file OpPrinter.cpp.

Member Function Documentation

◆ options()

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

Reimplemented from tfldump::OpPrinter.

Definition at line 378 of file OpPrinter.cpp.

379 {
380 if (auto *params = op->builtin_options_as_IfOptions())
381 {
382 os << " ";
383 os << "then_subgraph_index(" << params->then_subgraph_index() << ") ";
384 os << "else_subgraph_index(" << params->else_subgraph_index() << ") ";
385 os << std::endl;
386 }
387 }

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