Compute Library
 22.11
DefaultNodeVisitor Class Referenceabstract

Default visitor implementation. More...

#include <INodeVisitor.h>

Collaboration diagram for DefaultNodeVisitor:
[legend]

Public Member Functions

virtual ~DefaultNodeVisitor ()=default
 Default destructor. More...
 
virtual void default_visit (INode &n)=0
 Function to be overloaded by the client and implement default behavior for the non-overloaded visitors. More...
 
- Public Member Functions inherited from INodeVisitor
virtual ~INodeVisitor ()=default
 Default destructor. More...
 
virtual void visit (INode &n)=0
 Visit INode. More...
 
virtual void visit (ActivationLayerNode &n)=0
 Visit ActivationLayerNode. More...
 
virtual void visit (BatchNormalizationLayerNode &n)=0
 Visit BatchNormalizationLayerNode. More...
 
virtual void visit (ConcatenateLayerNode &n)=0
 Visit ConcatenateLayerNode. More...
 
virtual void visit (ConstNode &n)=0
 Visit ConstNode. More...
 
virtual void visit (ConvolutionLayerNode &n)=0
 Visit ConvolutionLayerNode. More...
 
virtual void visit (DepthwiseConvolutionLayerNode &n)=0
 Visit DepthwiseConvolutionLayerNode. More...
 
virtual void visit (DequantizationLayerNode &n)=0
 Visit DequantizationLayerNode. More...
 
virtual void visit (DetectionOutputLayerNode &n)=0
 Visit DetectionOutputLayerNode. More...
 
virtual void visit (DetectionPostProcessLayerNode &n)=0
 Visit DetectionPostProcessLayerNode. More...
 
virtual void visit (EltwiseLayerNode &n)=0
 Visit EltwiseLayerNode. More...
 
virtual void visit (FlattenLayerNode &n)=0
 Visit FlattenLayerNode. More...
 
virtual void visit (FullyConnectedLayerNode &n)=0
 Visit FullyConnectedLayerNode. More...
 
virtual void visit (FusedConvolutionBatchNormalizationNode &n)=0
 Visit FusedConvolutionBatchNormalizationNode. More...
 
virtual void visit (FusedConvolutionBatchNormalizationWithPostOpsNode &n)=0
 Visit FusedConvolutionBatchNormalizationWithPostOpsNode. More...
 
virtual void visit (FusedConvolutionWithPostOpNode &n)=0
 Visit FusedConvolutionWithPostOpNode. More...
 
virtual void visit (FusedDepthwiseConvolutionBatchNormalizationNode &n)=0
 Visit FusedDepthwiseConvolutionBatchNormalizationNode. More...
 
virtual void visit (InputNode &n)=0
 Visit InputNode. More...
 
virtual void visit (NormalizationLayerNode &n)=0
 Visit NormalizationLayerNode. More...
 
virtual void visit (OutputNode &n)=0
 Visit OutputNode. More...
 
virtual void visit (PermuteLayerNode &n)=0
 Visit PermuteLayerNode. More...
 
virtual void visit (PReluLayerNode &n)=0
 Visit PreluLayerNode. More...
 
virtual void visit (PoolingLayerNode &n)=0
 Visit PoolingLayerNode. More...
 
virtual void visit (PrintLayerNode &n)=0
 Visit PrintLayerNode. More...
 
virtual void visit (PriorBoxLayerNode &n)=0
 Visit PriorBoxLayerNode. More...
 
virtual void visit (QuantizationLayerNode &n)=0
 Visit QuantizationLayerNode. More...
 
virtual void visit (ReshapeLayerNode &n)=0
 Visit ReshapeLayerNode. More...
 
virtual void visit (SoftmaxLayerNode &n)=0
 Visit SoftmaxLayerNode. More...
 
virtual void visit (SplitLayerNode &n)=0
 Visit SplitLayerNode. More...
 
virtual void visit (StackLayerNode &n)=0
 Visit StackLayerNode. More...
 

Detailed Description

Default visitor implementation.

Implements visit methods by calling a default function. Inherit from DefaultNodeVisitor if you don't want to provide specific implementation for all nodes.

Definition at line 196 of file INodeVisitor.h.

Constructor & Destructor Documentation

◆ ~DefaultNodeVisitor()

virtual ~DefaultNodeVisitor ( )
virtualdefault

Default destructor.

Member Function Documentation

◆ default_visit()

virtual void default_visit ( INode n)
pure virtual

Function to be overloaded by the client and implement default behavior for the non-overloaded visitors.

Implemented in DotGraphVisitor, and DataLayerVisitor.


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