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

Public Member Functions

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

Detailed Description

Definition at line 536 of file OpPrinter.cpp.

Member Function Documentation

◆ options()

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

Reimplemented from tfldump::OpPrinter.

Definition at line 539 of file OpPrinter.cpp.

540 {
541 if (auto *params = op->builtin_options_as_SqueezeOptions())
542 {
543 os << " ";
544 os << "SqueezeDims(";
545 for (int i = 0; i < params->squeeze_dims()->size(); ++i)
546 {
547 if (i != 0)
548 os << ", ";
549 os << params->squeeze_dims()->Get(i);
550 }
551 os << ")";
552 os << std::endl;
553 }
554 }
int32_t size[5]
Definition Slice.cpp:35

References size.


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