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