Compute Library
 22.11
Padding3D Struct Reference

Padding information for 3D operations like Conv3d. More...

#include <Types.h>

Public Member Functions

 Padding3D () noexcept
 
 Padding3D (size_t pad_x, size_t pad_y, size_t pad_z)
 
 Padding3D (size_t left, size_t right, size_t top, size_t bottom, size_t front, size_t back)
 

Data Fields

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

Detailed Description

Padding information for 3D operations like Conv3d.

Definition at line 800 of file Types.h.

Constructor & Destructor Documentation

◆ Padding3D() [1/3]

Padding3D ( )
inlinenoexcept

Definition at line 802 of file Types.h.

803  {
804  }

◆ Padding3D() [2/3]

Padding3D ( size_t  pad_x,
size_t  pad_y,
size_t  pad_z 
)
inline

Definition at line 806 of file Types.h.

807  : left(pad_x), right(pad_x), top(pad_y), bottom(pad_y), front(pad_z), back(pad_z)
808  {
809  }
size_t front
Padding across the depth dimenstion on the front, in elements.
Definition: Types.h:820
size_t top
Padding across the height dimenstion on the top, in elements.
Definition: Types.h:818
size_t left
Padding across the width dimenstion on the left, in elements.
Definition: Types.h:816
size_t back
Padding across the depth dimenstion on the back, in elements.
Definition: Types.h:821
size_t right
Padding across the width dimenstion on the right, in elements.
Definition: Types.h:817
size_t bottom
Padding across the height dimenstion on the bottom, in elements.
Definition: Types.h:819

◆ Padding3D() [3/3]

Padding3D ( size_t  left,
size_t  right,
size_t  top,
size_t  bottom,
size_t  front,
size_t  back 
)
inline

Definition at line 811 of file Types.h.

813  {
814  }
size_t front
Padding across the depth dimenstion on the front, in elements.
Definition: Types.h:820
size_t top
Padding across the height dimenstion on the top, in elements.
Definition: Types.h:818
size_t left
Padding across the width dimenstion on the left, in elements.
Definition: Types.h:816
size_t back
Padding across the depth dimenstion on the back, in elements.
Definition: Types.h:821
size_t right
Padding across the width dimenstion on the right, in elements.
Definition: Types.h:817
size_t bottom
Padding across the height dimenstion on the bottom, in elements.
Definition: Types.h:819

Field Documentation

◆ back

◆ bottom

◆ front

◆ left

◆ right

◆ top


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