ONE - On-device Neural Engine
Loading...
Searching...
No Matches
moco::tf::BiasAddCanonicalizer Class Referencefinal

Convert TFBiasAdd to Canonical BiasAdd. More...

#include <BiasAddCanonicalizer.h>

Collaboration diagram for moco::tf::BiasAddCanonicalizer:

Public Member Functions

const char * name (void) const final
 
bool transform (TFBiasAdd *node) const final
 
- Public Member Functions inherited from moco::tf::SimpleNodeTransform< moco::TFBiasAdd >
 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 TFBiasAdd to Canonical BiasAdd.

Definition at line 35 of file BiasAddCanonicalizer.h.

Member Function Documentation

◆ name()

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

Reimplemented from logo::Pass.

Definition at line 38 of file BiasAddCanonicalizer.h.

38{ return "BiasAddCanonicalizer"; }

◆ transform()

bool moco::tf::BiasAddCanonicalizer::transform ( TFBiasAdd node) const
finalvirtual

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

Definition at line 103 of file BiasAddCanonicalizer.cpp.

104{
105 return canonicalize_biasadd(node->graph(), node);
106}

References loco::Node::graph().


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