|
void | options (const circle::Operator *op, std::ostream &os) const override |
|
Definition at line 586 of file OpPrinter.cpp.
◆ 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 }
References size.
The documentation for this class was generated from the following file: