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

Convert TFPush to Canonical Push. More...

#include <TFPushCanonicalizer.h>

Collaboration diagram for moco::tf::TFPushCanonicalizer:

Public Member Functions

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

Definition at line 35 of file TFPushCanonicalizer.h.

Member Function Documentation

◆ name()

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

Reimplemented from logo::Pass.

Definition at line 38 of file TFPushCanonicalizer.h.

38{ return "TFPushCanonicalizer"; }

◆ transform()

bool moco::tf::TFPushCanonicalizer::transform ( moco::TFPush node) const
finalvirtual

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

Definition at line 66 of file TFPushCanonicalizer.cpp.

67{
68 return canonicalize_push(node->graph(), node);
69}
Graph * graph(void)
Definition Node.h:70

References loco::Node::graph().


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