Compute Library
 22.08
Padding2D Struct Reference

Padding information for 2D operations like Conv2dDescriptor. More...

#include <OperatorGraph.h>

Public Member Functions

 Padding2D ()=default
 
 Padding2D (size_t left, size_t right, size_t top, size_t bottom)
 

Data Fields

size_t left = { 0 }
 Padding across the width dimension on the left, in elements. More...
 
size_t right = { 0 }
 Padding across the width dimension on the right, in elements. More...
 
size_t top = { 0 }
 Padding across the height dimension on the top, in elements. More...
 
size_t bottom = { 0 }
 Padding across the height dimension on the bottom, in elements. More...
 

Detailed Description

Padding information for 2D operations like Conv2dDescriptor.

Examples:
dynamic_fusion/cl_fused_conv2d_elementwise_add.cpp.

Definition at line 133 of file OperatorGraph.h.

Constructor & Destructor Documentation

◆ Padding2D() [1/2]

Padding2D ( )
default

◆ Padding2D() [2/2]

Padding2D ( size_t  left,
size_t  right,
size_t  top,
size_t  bottom 
)
inline

Definition at line 136 of file OperatorGraph.h.

138  {
139  }
size_t bottom
Padding across the height dimension on the bottom, in elements.
size_t right
Padding across the width dimension on the right, in elements.
size_t left
Padding across the width dimension on the left, in elements.
size_t top
Padding across the height dimension on the top, in elements.

Field Documentation

◆ bottom

◆ left

◆ right

◆ top


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