ONE - On-device Neural Engine
Loading...
Searching...
No Matches
exo::EltwiseSqrtConverter Class Reference

Convert loco::EltwiseSqrt to TFLSqrt. More...

#include <EltwiseSqrtConverter.h>

Collaboration diagram for exo::EltwiseSqrtConverter:

Public Member Functions

const char * name (void) const final
 
bool convert (loco::EltwiseSqrt *origin) final
 
- Public Member Functions inherited from exo::CanonicalNodeConverter< loco::EltwiseSqrt >
bool run (loco::Graph *graph)
 Run the pass.
 
- Public Member Functions inherited from logo::Pass
virtual ~Pass ()=default
 

Additional Inherited Members

Detailed Description

Convert loco::EltwiseSqrt to TFLSqrt.

Definition at line 30 of file EltwiseSqrtConverter.h.

Member Function Documentation

◆ convert()

bool exo::EltwiseSqrtConverter::convert ( loco::EltwiseSqrt origin)
finalvirtual

Implements exo::CanonicalNodeConverter< loco::EltwiseSqrt >.

Definition at line 58 of file EltwiseSqrtConverter.cpp.

59{
60 EltwiseSqrtInputHandler input_handler;
62
63 auto tfl_new = domain_converter.convert<FeatureLayout::NHWC>(origin, input_handler);
64
65 return (tfl_new != nullptr);
66}
Class to handle domain conversion while converting a canonical node to TFL node(s)
Definition GraphBlock.h:135
TFLT * convert(CanonicalT *origin, InputHandler< CanonicalT, TFLT > &input_handler)
Performs domain conversion.
Definition GraphBlock.h:152

References exo::DomainConverter< CanonicalT, TFLT >::convert(), and exo::NHWC.

◆ name()

const char * exo::EltwiseSqrtConverter::name ( void  ) const
inlinefinalvirtual

Reimplemented from exo::CanonicalNodeConverter< loco::EltwiseSqrt >.

Definition at line 33 of file EltwiseSqrtConverter.h.

33{ return "exo::EltwiseSqrtConverter"; }

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