ONE - On-device Neural Engine
Loading...
Searching...
No Matches
moco::tf::MaximumCanonicalizer Class Reference

Convert TFMaximum to Canonical EltwiseMax. More...

#include <MaximumCanonicalizer.h>

Collaboration diagram for moco::tf::MaximumCanonicalizer:

Public Member Functions

const char * name (void) const final
 
bool transform (moco::TFMaximum *) const final
 
- Public Member Functions inherited from moco::tf::SimpleNodeTransform< moco::TFMaximum >
 SimpleNodeTransform ()=default
 
virtual ~SimpleNodeTransform ()=default
 
bool run (loco::Graph *graph) final
 Run the pass.
 
- Public Member Functions inherited from logo::Pass
virtual ~Pass ()=default
 

Detailed Description

Convert TFMaximum to Canonical EltwiseMax.

Definition at line 35 of file MaximumCanonicalizer.h.

Member Function Documentation

◆ name()

const char * moco::tf::MaximumCanonicalizer::name ( void  ) const
inlinefinalvirtual

Reimplemented from logo::Pass.

Definition at line 38 of file MaximumCanonicalizer.h.

38{ return "MaximumCanonicalizer"; }

◆ transform()

bool moco::tf::MaximumCanonicalizer::transform ( moco::TFMaximum node) const
finalvirtual

Implements moco::tf::SimpleNodeTransform< moco::TFMaximum >.

Definition at line 28 of file MaximumCanonicalizer.cpp.

29{
30 return canonicalize_eltwise_binary_node(node);
31}

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