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

Public Member Functions

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

Detailed Description

Definition at line 230 of file OpPrinter.cpp.

Member Function Documentation

◆ options()

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

Reimplemented from circledump::OpPrinter.

Definition at line 233 of file OpPrinter.cpp.

234 {
235 if (auto *reshape_params = op->builtin_options_as_ReshapeOptions())
236 {
237 auto new_shape = mio::circle::as_index_vector(reshape_params->new_shape());
238 os << " ";
239 os << "NewShape(" << new_shape << ")";
240 os << std::endl;
241 }
242 }
std::vector< T > as_index_vector(const flatbuffers::Vector< T > *flat_array)
Definition Helper.h:36

References mio::circle::as_index_vector().


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