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

Public Member Functions

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

Detailed Description

Definition at line 115 of file OpPrinter.cpp.

Member Function Documentation

◆ options()

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

Reimplemented from circledump::OpPrinter.

Definition at line 118 of file OpPrinter.cpp.

119 {
120 if (auto cast_params = op->builtin_options_as_CastOptions())
121 {
122 os << " ";
123 os << "in_data_type(" << circle::EnumNameTensorType(cast_params->in_data_type()) << ") ";
124 os << "out_data_type(" << circle::EnumNameTensorType(cast_params->out_data_type()) << ") ";
125 os << std::endl;
126 }
127 }

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