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

Convert TFPlaceholder to Canonical Pull. More...

#include <PlaceholderCanonicalizer.h>

Collaboration diagram for moco::tf::PlaceholderCanonicalizer:

Public Member Functions

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

Detailed Description

Convert TFPlaceholder to Canonical Pull.

Note
GraphInputIndex is copied to Pull

Definition at line 35 of file PlaceholderCanonicalizer.h.

Member Function Documentation

◆ name()

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

Reimplemented from logo::Pass.

Definition at line 38 of file PlaceholderCanonicalizer.h.

38{ return "PlaceholderCanonicalizer"; }

◆ transform()

bool moco::tf::PlaceholderCanonicalizer::transform ( moco::TFPlaceholder node) const
final

Definition at line 96 of file PlaceholderCanonicalizer.cpp.

97{
98 return canonicalize_placeholder(node->graph(), node);
99}
Graph * graph(void)
Definition Node.h:70

References loco::Node::graph().


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