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

Public Member Functions

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

Detailed Description

Definition at line 586 of file OpPrinter.cpp.

Member Function Documentation

◆ options()

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

Reimplemented from circledump::OpPrinter.

Definition at line 589 of file OpPrinter.cpp.

590 {
591 if (auto *params = op->builtin_options_as_SqueezeOptions())
592 {
593 os << " ";
594 os << "SqueezeDims(";
595 for (int i = 0; i < params->squeeze_dims()->size(); ++i)
596 {
597 if (i != 0)
598 os << ", ";
599 os << params->squeeze_dims()->Get(i);
600 }
601 os << ")";
602 os << std::endl;
603 }
604 }
int32_t size[5]
Definition Slice.cpp:35

References size.


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