diff options
Diffstat (limited to 'arm_compute/core/Types.h')
-rw-r--r-- | arm_compute/core/Types.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/arm_compute/core/Types.h b/arm_compute/core/Types.h index 36b77b8224..31199e138b 100644 --- a/arm_compute/core/Types.h +++ b/arm_compute/core/Types.h @@ -27,6 +27,7 @@ #include "arm_compute/core/Coordinates.h" #include "arm_compute/core/QuantizationInfo.h" #include "arm_compute/core/Size2D.h" +#include "arm_compute/core/Size3D.h" #include "arm_compute/core/Strides.h" #include "arm_compute/core/TensorShape.h" #include "arm_compute/core/utils/misc/Macros.h" @@ -112,7 +113,8 @@ enum class DataLayout { UNKNOWN, /**< Unknown data layout */ NCHW, /**< Num samples, channels, height, width */ - NHWC /**< Num samples, height, width, channels */ + NHWC, /**< Num samples, height, width, channels */ + NDHWC /**< Num samples, depth, height, width, channels */ }; /** [DataLayout enum definition] **/ @@ -760,6 +762,17 @@ private: DimensionRoundingType _round_type; }; +/** Padding information for 3D operations like Conv3d */ +struct Padding3D +{ + size_t left = { 0 }; /**< Padding across the width dimenstion on the left, in elements. */ + size_t right = { 0 }; /**< Padding across the width dimenstion on the right, in elements. */ + size_t top = { 0 }; /**< Padding across the height dimenstion on the top, in elements. */ + size_t bottom = { 0 }; /**< Padding across the height dimenstion on the bottom, in elements. */ + size_t front = { 0 }; /**< Padding across the depth dimenstion on the front, in elements. */ + size_t back = { 0 }; /**< Padding across the depth dimenstion on the back, in elements. */ +}; + /** PriorBox layer info */ class PriorBoxLayerInfo final { |