Compute Library
 22.11
ConvPostOpInfoEltwiseAdd Class Reference

#include <Types.h>

Collaboration diagram for ConvPostOpInfoEltwiseAdd:
[legend]

Public Member Functions

 ConvPostOpInfoEltwiseAdd (int arg_pos, const ConvertPolicy &policy)
 
PostOpType type () const override
 Returns post op type. More...
 
 ~ConvPostOpInfoEltwiseAdd () override
 
- Public Member Functions inherited from ConvPostOpInfo
virtual ~ConvPostOpInfo ()
 

Data Fields

int _prev_op_dst_pos
 
ConvertPolicy _policy
 

Detailed Description

Definition at line 180 of file Types.h.

Constructor & Destructor Documentation

◆ ConvPostOpInfoEltwiseAdd()

ConvPostOpInfoEltwiseAdd ( int  arg_pos,
const ConvertPolicy policy 
)
inline

Definition at line 183 of file Types.h.

184  : _prev_op_dst_pos(arg_pos), _policy(policy)
185  {
186  }
int _prev_op_dst_pos
Definition: Types.h:194
ConvertPolicy _policy
Definition: Types.h:195

◆ ~ConvPostOpInfoEltwiseAdd()

~ConvPostOpInfoEltwiseAdd ( )
inlineoverride

Definition at line 191 of file Types.h.

192  {
193  }

Member Function Documentation

◆ type()

PostOpType type ( ) const
inlineoverridevirtual

Returns post op type.

Returns
Post op type

Implements ConvPostOpInfo.

Definition at line 187 of file Types.h.

188  {
189  return PostOpType::Eltwise_Add;
190  }

Field Documentation

◆ _policy

ConvertPolicy _policy

Definition at line 195 of file Types.h.

◆ _prev_op_dst_pos

int _prev_op_dst_pos

Definition at line 194 of file Types.h.


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