23.08
|
Class for specifying the size of a 3D shape or object. More...
#include <Size3D.h>
Public Member Functions | |
Size3D ()=default | |
Default constructor. More... | |
Size3D (size_t w, size_t h, size_t d) noexcept | |
Constructor. More... | |
std::string | to_string () const |
Convert the values stored to string. More... | |
size_t | x () const |
Semantic accessor for width as x. More... | |
size_t | y () const |
Semantic accessor for height as y. More... | |
size_t | z () const |
Semantic accessor for depth as z. More... | |
bool | operator!= (const Size3D &other) const |
bool | operator== (const Size3D &other) const |
Data Fields | |
size_t | width = {} |
Width of the 3D shape or object. More... | |
size_t | height = {} |
Height of the 3D shape or object. More... | |
size_t | depth = {} |
Depth of the 3D shape or object. More... | |
|
default |
Default constructor.
|
inlinenoexcept |
|
inline |
|
inline |
Definition at line 86 of file Size3D.h.
References Size3D::depth, Size3D::height, and Size3D::width.
std::string to_string | ( | ) | const |
Convert the values stored to string.
Definition at line 29 of file Size3D.cpp.
References Size3D::depth, Size3D::height, arm_compute::support::cpp11::to_string(), and Size3D::width.
|
inline |
Semantic accessor for width as x.
Definition at line 58 of file Size3D.h.
References Size3D::width.
Referenced by arm_compute::misc::shape_calculator::compute_conv3d_shape(), ClPool3dKernel::configure(), ClDirectConv3dKernel::configure(), arm_compute::test::validation::reference::conv3d(), and arm_compute::scaled_3d_dimensions_signed().
|
inline |
Semantic accessor for height as y.
Definition at line 67 of file Size3D.h.
References Size3D::height.
Referenced by arm_compute::misc::shape_calculator::compute_conv3d_shape(), ClPool3dKernel::configure(), ClDirectConv3dKernel::configure(), arm_compute::test::validation::reference::conv3d(), and arm_compute::scaled_3d_dimensions_signed().
|
inline |
Semantic accessor for depth as z.
Definition at line 76 of file Size3D.h.
References Size3D::depth.
Referenced by arm_compute::misc::shape_calculator::compute_conv3d_shape(), ClPool3dKernel::configure(), ClDirectConv3dKernel::configure(), arm_compute::test::validation::reference::conv3d(), and arm_compute::scaled_3d_dimensions_signed().
size_t depth = {} |
Depth of the 3D shape or object.
Definition at line 94 of file Size3D.h.
Referenced by arm_compute::cpu::avg_poolingMxNxD_q8_neon_ndhwc(), arm_compute::misc::shape_calculator::compute_conv3d_shape(), arm_compute::misc::shape_calculator::compute_pool3d_shape(), ClPool3dKernel::configure(), CpuPool3dKernel::configure(), arm_compute::cpu::max_poolingMxNxD_q8_neon_ndhwc(), arm_compute::operator<<(), Size3D::operator==(), arm_compute::test::validation::reference::pooling_3d_layer_internal(), Size3D::to_string(), and Size3D::z().
size_t height = {} |
Height of the 3D shape or object.
Definition at line 93 of file Size3D.h.
Referenced by arm_compute::cpu::avg_poolingMxNxD_q8_neon_ndhwc(), arm_compute::misc::shape_calculator::compute_conv3d_shape(), arm_compute::misc::shape_calculator::compute_pool3d_shape(), ClPool3dKernel::configure(), CpuPool3dKernel::configure(), arm_compute::cpu::max_poolingMxNxD_q8_neon_ndhwc(), arm_compute::operator<<(), Size3D::operator==(), arm_compute::test::validation::reference::pooling_3d_layer_internal(), Size3D::to_string(), and Size3D::y().
size_t width = {} |
Width of the 3D shape or object.
Definition at line 92 of file Size3D.h.
Referenced by arm_compute::cpu::avg_poolingMxNxD_q8_neon_ndhwc(), arm_compute::misc::shape_calculator::compute_conv3d_shape(), arm_compute::misc::shape_calculator::compute_pool3d_shape(), ClPool3dKernel::configure(), CpuPool3dKernel::configure(), arm_compute::cpu::max_poolingMxNxD_q8_neon_ndhwc(), arm_compute::operator<<(), Size3D::operator==(), arm_compute::test::validation::reference::pooling_3d_layer_internal(), Size3D::to_string(), and Size3D::x().