Compute Library
 22.05
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 786 of file Types.h.

Constructor & Destructor Documentation

◆ Padding3D() [1/3]

Padding3D ( )
inlinenoexcept

Definition at line 788 of file Types.h.

789  {
790  }

◆ Padding3D() [2/3]

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

Definition at line 792 of file Types.h.

793  : left(pad_x), right(pad_x), top(pad_y), bottom(pad_y), front(pad_z), back(pad_z)
794  {
795  }
size_t front
Padding across the depth dimenstion on the front, in elements.
Definition: Types.h:806
size_t top
Padding across the height dimenstion on the top, in elements.
Definition: Types.h:804
size_t left
Padding across the width dimenstion on the left, in elements.
Definition: Types.h:802
size_t back
Padding across the depth dimenstion on the back, in elements.
Definition: Types.h:807
size_t right
Padding across the width dimenstion on the right, in elements.
Definition: Types.h:803
size_t bottom
Padding across the height dimenstion on the bottom, in elements.
Definition: Types.h:805

◆ 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 797 of file Types.h.

799  {
800  }
size_t front
Padding across the depth dimenstion on the front, in elements.
Definition: Types.h:806
size_t top
Padding across the height dimenstion on the top, in elements.
Definition: Types.h:804
size_t left
Padding across the width dimenstion on the left, in elements.
Definition: Types.h:802
size_t back
Padding across the depth dimenstion on the back, in elements.
Definition: Types.h:807
size_t right
Padding across the width dimenstion on the right, in elements.
Definition: Types.h:803
size_t bottom
Padding across the height dimenstion on the bottom, in elements.
Definition: Types.h:805

Field Documentation

◆ back

◆ bottom

◆ front

◆ left

◆ right

◆ top


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