ARM Compute Library
17.04
|
Container for 2D border size. More...
#include <Types.h>
Public Member Functions | |
constexpr | BorderSize () |
Empty border, i.e. More... | |
constexpr | BorderSize (unsigned int size) |
Border with equal size around the 2D plane. More... | |
constexpr | BorderSize (unsigned int top_bottom, unsigned int left_right) |
Border with same size for top/bottom and left/right. More... | |
constexpr | BorderSize (unsigned int top, unsigned int right, unsigned int bottom, unsigned int left) |
Border with different sizes. More... | |
constexpr bool | empty () const |
Check if the entire border is zero. More... | |
constexpr bool | uniform () const |
Check if the border is the same size on all sides. More... | |
BorderSize & | operator*= (float scale) |
BorderSize | operator* (float scale) |
Data Fields | |
unsigned int | top |
unsigned int | right |
unsigned int | bottom |
unsigned int | left |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Check if the entire border is zero.
Definition at line 143 of file Types.h.
Referenced by TensorInfo::has_padding().
|
inline |
|
inline |
|
inline |