ONE - On-device Neural Engine
Loading...
Searching...
No Matches
onert::ir::Padding Struct Reference

#include <Padding.h>

Collaboration diagram for onert::ir::Padding:

Public Member Functions

 Padding (void)
 
 Padding (PaddingType paddingType)
 
 Padding (uint32_t left, uint32_t right, uint32_t top, uint32_t bottom)
 

Data Fields

PaddingType type
 
ExplicitPadding param
 

Detailed Description

Definition at line 54 of file Padding.h.

Constructor & Destructor Documentation

◆ Padding() [1/3]

onert::ir::Padding::Padding ( void  )

Definition at line 117 of file Padding.cc.

117 : type{PaddingType::EXPLICIT}, param{0, 0, 0, 0}
118{
119 // DO NOTHING
120}
PaddingType type
Definition Padding.h:61
ExplicitPadding param
Definition Padding.h:62

◆ Padding() [2/3]

onert::ir::Padding::Padding ( PaddingType  paddingType)

Definition at line 122 of file Padding.cc.

122 : type{paddingType}, param{0, 0, 0, 0}
123{
124 assert(paddingType != PaddingType::EXPLICIT);
125}

References onert::ir::EXPLICIT.

◆ Padding() [3/3]

onert::ir::Padding::Padding ( uint32_t  left,
uint32_t  right,
uint32_t  top,
uint32_t  bottom 
)

Definition at line 127 of file Padding.cc.

128 : type{PaddingType::EXPLICIT}, param{left, right, top, bottom}
129{
130 // DO NOTHING
131}

Field Documentation

◆ param

◆ type


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