Compute Library
 20.08
Types.h File Reference
#include "arm_compute/core/Coordinates.h"
#include "arm_compute/core/QuantizationInfo.h"
#include "arm_compute/core/Size2D.h"
#include "arm_compute/core/Strides.h"
#include "arm_compute/core/TensorShape.h"
#include "arm_compute/core/utils/misc/Macros.h"
#include "support/Bfloat16.h"
#include "support/Half.h"
#include <cmath>
#include <cstddef>
#include <cstdint>
#include <map>
#include <string>
#include <utility>

Go to the source code of this file.

Data Structures

struct  ValidRegion
 Container for valid region of a window. More...
 
struct  BorderSize
 Container for 2D border size. More...
 
struct  KeyPoint
 Keypoint type. More...
 
struct  Rectangle
 Rectangle type. More...
 
struct  Coordinates2D
 Coordinate type. More...
 
struct  Coordinates3D
 Coordinate type. More...
 
struct  DetectionWindow
 Detection window used for the object detection. More...
 
class  BoxNMSLimitInfo
 BoxWithNonMaximaSuppressionLimit Information class. More...
 
class  PadStrideInfo
 Padding and stride information class. More...
 
class  PriorBoxLayerInfo
 PriorBox layer info. More...
 
class  DetectionOutputLayerInfo
 Detection Output layer info. More...
 
class  DetectionPostProcessLayerInfo
 Detection Output layer info. More...
 
struct  PoolingLayerInfo
 Pooling Layer Information struct. More...
 
class  ROIPoolingLayerInfo
 ROI Pooling Layer Information class. More...
 
class  GenerateProposalsInfo
 Generate Proposals Information class. More...
 
class  ComputeAnchorsInfo
 ComputeAnchors information class. More...
 
class  BoundingBoxTransformInfo
 Bounding Box Transform information class. More...
 
class  ActivationLayerInfo
 Activation Layer Information class. More...
 
struct  FullyConnectedLayerInfo
 Fully connected layer info. More...
 
class  NormalizationLayerInfo
 Normalization Layer Information class. More...
 
class  WeightsInfo
 Convolution Layer Weights Information class. More...
 
class  GEMMReshapeInfo
 GEMM reshape information class. More...
 
struct  DepthwiseConvolutionReshapeInfo
 
struct  GEMMLowpOutputStageInfo
 GEMMLowp output stage info. More...
 
struct  GEMMLHSMatrixInfo
 GEMM LHS (Left Hand Side) matrix information. More...
 
struct  GEMMRHSMatrixInfo
 GEMM RHS (Right Hand Side) matrix information. More...
 
class  GEMMInfo
 GEMM information class. More...
 
struct  WinogradInfo
 Winograd information. More...
 
struct  IOFormatInfo
 IO formatting information class. More...
 

Namespaces

 arm_compute
 Copyright (c) 2017-2020 Arm Limited.
 

Typedefs

using half = half_float::half
 16-bit floating point type More...
 
using PermutationVector = Strides
 Permutation vector. More...
 
using BiStrides = Coordinates
 Bidirectional strides. More...
 
using PaddingSize = BorderSize
 Container for 2D padding size. More...
 
using InternalKeypoint = std::tuple< float, float, float >
 Internal key point. More...
 
using PaddingInfo = std::pair< uint32_t, uint32_t >
 Padding information as a pair of unsigned int start/end. More...
 
using PaddingList = std::vector< PaddingInfo >
 List of padding information. More...
 
using Multiples = std::vector< uint32_t >
 Information to produce a tiled version of a Tensor. More...
 
using BBox = std::array< float, 4 >
 
using LabelBBox = std::map< int, std::vector< BBox > >
 

Enumerations

enum  Format {
  UNKNOWN, U8, S16, U16,
  S32, U32, BFLOAT16, F16,
  F32, UV88, RGB888, RGBA8888,
  YUV444, YUYV422, NV12, NV21,
  IYUV, UYVY422
}
 Image colour formats. More...
 
enum  DataType {
  UNKNOWN, U8, S8, QSYMM8,
  QASYMM8, QASYMM8_SIGNED, QSYMM8_PER_CHANNEL, U16,
  S16, QSYMM16, QASYMM16, U32,
  S32, U64, S64, BFLOAT16,
  F16, F32, F64, SIZET
}
 Available data types. More...
 
enum  SamplingPolicy { CENTER, TOP_LEFT }
 Available Sampling Policies. More...
 
enum  DataLayout { UNKNOWN, NCHW, NHWC }
 [DataLayout enum definition] More...
 
enum  DataLayoutDimension { CHANNEL, HEIGHT, WIDTH, BATCHES }
 [DataLayout enum definition] More...
 
enum  ConvolutionMethod { GEMM, DIRECT, WINOGRAD, FFT }
 Available ConvolutionMethod. More...
 
enum  DepthwiseConvolutionFunction { OPTIMIZED, GENERIC }
 Available DepthwiseConvolutionFunction. More...
 
enum  DeconvolutionMethod { GEMM, DIRECT }
 Available DeconvolutionMethod. More...
 
enum  FuseBatchNormalizationType { CONVOLUTION, DEPTHWISECONVOLUTION }
 Available FuseBatchNormalizationType. More...
 
enum  PaddingMode { CONSTANT, REFLECT, SYMMETRIC }
 Padding mode to use for PadLayer. More...
 
enum  ComparisonOperation {
  Equal, NotEqual, Greater, GreaterEqual,
  Less, LessEqual
}
 Supported comparison operations. More...
 
enum  BorderMode { UNDEFINED, CONSTANT, REPLICATE }
 Methods available to handle borders. More...
 
enum  ConvertPolicy { WRAP, SATURATE }
 Policy to handle overflow. More...
 
enum  InterpolationPolicy { NEAREST_NEIGHBOR, BILINEAR, AREA }
 Interpolation method. More...
 
enum  BilinearInterpolation { BILINEAR_OLD_NEW, BILINEAR_SCHARR }
 Bilinear Interpolation method used by LKTracker. More...
 
enum  ThresholdType { BINARY, RANGE }
 Threshold mode. More...
 
enum  Termination { TERM_CRITERIA_EPSILON, TERM_CRITERIA_ITERATIONS, TERM_CRITERIA_BOTH }
 Termination criteria. More...
 
enum  MagnitudeType { L1NORM, L2NORM }
 Magnitude calculation type. More...
 
enum  PhaseType { SIGNED, UNSIGNED }
 Phase calculation type. More...
 
enum  Channel {
  UNKNOWN, C0, C1, C2,
  C3, R, G, B,
  A, Y, U, V
}
 Available channels. More...
 
enum  MatrixPattern { BOX, CROSS, DISK, OTHER }
 Available matrix patterns. More...
 
enum  NonLinearFilterFunction : unsigned { MEDIAN = 0, MIN = 1, MAX = 2 }
 Available non linear functions. More...
 
enum  ReductionOperation {
  ARG_IDX_MAX, ARG_IDX_MIN, MEAN_SUM, PROD,
  SUM_SQUARE, SUM, MIN, MAX
}
 Available reduction operations. More...
 
enum  ArithmeticOperation {
  ADD, SUB, DIV, MIN,
  MAX, SQUARED_DIFF, POWER, PRELU
}
 Available element-wise operations. More...
 
enum  ElementWiseUnary {
  RSQRT, EXP, NEG, LOG,
  ABS, SIN, ROUND
}
 Available element wise unary operations. More...
 
enum  NormType { IN_MAP_1D, IN_MAP_2D, CROSS_MAP }
 The normalization type used for the normalization layer. More...
 
enum  HOGNormType { L2_NORM = 1, L2HYS_NORM = 2, L1_NORM = 3 }
 Normalization type for Histogram of Oriented Gradients (HOG) More...
 
enum  DimensionRoundingType { FLOOR, CEIL }
 Dimension rounding type when down-scaling on CNNs. More...
 
enum  PoolingType { MAX, AVG, L2 }
 Available pooling types. More...
 
enum  NMSType { LINEAR, GAUSSIAN, ORIGINAL }
 Available non maxima suppression types. More...
 
enum  DetectionOutputLayerCodeType { CORNER, CENTER_SIZE, CORNER_SIZE, TF_CENTER }
 Available Detection Output code types. More...
 
enum  GEMMLowpOutputStageType { NONE, QUANTIZE_DOWN, QUANTIZE_DOWN_FIXEDPOINT, QUANTIZE_DOWN_FLOAT }
 GEMMLowp output stage type. More...
 

Variables

constexpr uint8_t CONSTANT_BORDER_VALUE = 199
 Constant value of the border pixels when using BorderMode::CONSTANT. More...
 
constexpr float SCALE_PYRAMID_HALF = 0.5f
 Constant value used to indicate a half-scale pyramid. More...
 
constexpr float SCALE_PYRAMID_ORB = 8.408964152537146130583778358414e-01
 Constant value used to indicate a ORB scaled pyramid. More...