24.02.1
|
Data Structures | |
class | BackendRegistrar |
Helper class to statically register a backend. More... | |
Functions | |
template<typename TargetInfo > | |
TargetInfo::TensorType * | get_backing_tensor (arm_compute::graph::Tensor *tensor) |
Returns backing tensor of a given tensor. More... | |
template<typename TargetInfo > | |
void | validate_node (const INode &node, size_t num_expected_inputs, size_t num_expected_outputs) |
template<typename ActivationLayerFunction , typename TargetInfo > | |
std::unique_ptr< IFunction > | create_activation_layer (ActivationLayerNode &node) |
Creates a backend activation layer function. More... | |
template<typename ArgMinMaxLayerFunction , typename TargetInfo > | |
std::unique_ptr< IFunction > | create_arg_min_max_layer (ArgMinMaxLayerNode &node) |
Creates a backend argminmax layer function. More... | |
template<typename BatchNormalizationLayerFunction , typename TargetInfo > | |
std::unique_ptr< IFunction > | create_batch_normalization_layer (BatchNormalizationLayerNode &node) |
Create a backend batch normalization layer function. More... | |
template<typename FusedLayerTypes , typename TargetInfo > | |
std::unique_ptr< IFunction > | create_fused_convolution_batch_normalization_layer (FusedConvolutionBatchNormalizationNode &node, GraphContext &ctx) |
Create a backend batch normalization layer function. More... | |
template<typename FusedLayerTypes , typename TargetInfo > | |
std::unique_ptr< IFunction > | create_fused_depthwise_convolution_batch_normalization_layer (FusedDepthwiseConvolutionBatchNormalizationNode &node, GraphContext &ctx) |
Create a backend fused depthwise convolution batch normalization layer function. More... | |
template<typename BoundingBoxTransformLayerFunction , typename TargetInfo > | |
std::unique_ptr< IFunction > | create_bounding_box_transform_layer (BoundingBoxTransformLayerNode &node) |
Create a backend bounding box transform layer function. More... | |
template<typename ChannelShuffleLayerFunction , typename TargetInfo > | |
std::unique_ptr< IFunction > | create_channel_shuffle_layer (ChannelShuffleLayerNode &node) |
Create a backend channel shuffle layer function. More... | |
template<typename ConcatenateLayerFunction , typename TargetInfo > | |
std::unique_ptr< arm_compute::IFunction > | create_concatenate_layer (ConcatenateLayerNode &node) |
Create a backend layer concatenate function. More... | |
template<typename ConvolutionLayerFunctions , typename TargetInfo > | |
std::unique_ptr< IFunction > | create_convolution_layer (ConvolutionLayerNode &node, GraphContext &ctx) |
Create a backend convolution layer function. More... | |
template<typename DeconvolutionLayerFunction , typename TargetInfo > | |
std::unique_ptr< IFunction > | create_deconvolution_layer (DeconvolutionLayerNode &node, GraphContext &ctx) |
Create a backend deconvolution layer function. More... | |
template<typename DepthwiseConvolutionLayer , typename TargetInfo > | |
std::unique_ptr< IFunction > | create_depthwise_convolution_layer (DepthwiseConvolutionLayerNode &node) |
Create a backend layer depth-wise convolution function. More... | |
template<typename DepthToSpaceLayerFunction , typename TargetInfo > | |
std::unique_ptr< IFunction > | create_depth_to_space_layer (DepthToSpaceLayerNode &node) |
Create a backend depth to space layer function. More... | |
template<typename DequantizationLayerFunction , typename TargetInfo > | |
std::unique_ptr< IFunction > | create_dequantization_layer (DequantizationLayerNode &node) |
Create a backend dequantize layer function. More... | |
template<typename DetectionOutputLayerFunction , typename TargetInfo > | |
std::unique_ptr< IFunction > | create_detection_output_layer (DetectionOutputLayerNode &node) |
Create a backend detection output layer function. More... | |
template<typename DetectionPostProcessLayerFunction , typename TargetInfo > | |
std::unique_ptr< IFunction > | create_detection_post_process_layer (DetectionPostProcessLayerNode &node) |
Create a backend detection post process layer function. More... | |
template<typename EltwiseFunctions , typename TargetInfo > | |
std::unique_ptr< IFunction > | create_eltwise_layer (EltwiseLayerNode &node) |
Create a backend element-wise operation layer function. More... | |
template<typename UnaryEltwiseFunctions , typename TargetInfo > | |
std::unique_ptr< IFunction > | create_unary_eltwise_layer (UnaryEltwiseLayerNode &node) |
Create a backend unary element-wise operation layer function. More... | |
template<typename FlattenLayerFunction , typename TargetInfo > | |
std::unique_ptr< IFunction > | create_flatten_layer (FlattenLayerNode &node) |
Create a backend flatten layer function. More... | |
template<typename FullyConnectedLayerFunction , typename TargetInfo > | |
std::unique_ptr< IFunction > | create_fully_connected_layer (FullyConnectedLayerNode &node, GraphContext &ctx) |
Create a backend fully connected layer function. More... | |
template<typename GenerateProposalsLayerFunction , typename TargetInfo > | |
std::unique_ptr< IFunction > | create_generate_proposals_layer (GenerateProposalsLayerNode &node, GraphContext &ctx) |
Create a backend generate proposals layer function. More... | |
template<typename L2NormalizeLayerFunction , typename TargetInfo > | |
std::unique_ptr< IFunction > | create_l2_normalize_layer (L2NormalizeLayerNode &node, GraphContext &ctx) |
Create a backend l2 normalization layer function. More... | |
template<typename NormalizationLayerFunction , typename TargetInfo > | |
std::unique_ptr< IFunction > | create_normalization_layer (NormalizationLayerNode &node, GraphContext &ctx) |
Create a backend normalization layer function. More... | |
template<typename NormalizePlanarYUVLayerFunction , typename TargetInfo > | |
std::unique_ptr< IFunction > | create_normalize_planar_yuv_layer (NormalizePlanarYUVLayerNode &node) |
Create a backend normalize planar YUV layer function. More... | |
template<typename PadLayerFunction , typename TargetInfo > | |
std::unique_ptr< IFunction > | create_pad_layer (PadLayerNode &node) |
Create a backend pad layer function. More... | |
template<typename PermuteLayerFunction , typename TargetInfo > | |
std::unique_ptr< IFunction > | create_permute_layer (PermuteLayerNode &node) |
Create a backend permute layer function. More... | |
template<typename PoolingLayerFunction , typename TargetInfo > | |
std::unique_ptr< IFunction > | create_pooling_layer (PoolingLayerNode &node) |
Create a backend pooling layer function. More... | |
template<typename PReluFunction , typename TargetInfo > | |
std::unique_ptr< IFunction > | create_prelu_layer (PReluLayerNode &node) |
Create a backend PRelu layer function. More... | |
template<typename TargetInfo > | |
std::unique_ptr< IFunction > | create_print_layer (PrintLayerNode &node) |
Create a backend print layer function. More... | |
template<typename PriorBoxLayerFunction , typename TargetInfo > | |
std::unique_ptr< IFunction > | create_priorbox_layer (PriorBoxLayerNode &node) |
Create a backend priorbox layer function. More... | |
template<typename QuantizationLayerFunction , typename TargetInfo > | |
std::unique_ptr< IFunction > | create_quantization_layer (QuantizationLayerNode &node) |
Create a backend quantization layer function. More... | |
template<typename ReductionOperationFunction , typename TargetInfo > | |
std::unique_ptr< IFunction > | create_reduction_operation_layer (ReductionLayerNode &node, GraphContext &ctx) |
Create a backend reduction operation layer function. More... | |
template<typename ReorgLayerFunction , typename TargetInfo > | |
std::unique_ptr< IFunction > | create_reorg_layer (ReorgLayerNode &node) |
Create a backend reorg layer function. More... | |
template<typename ReshapeLayerFunction , typename TargetInfo > | |
std::unique_ptr< IFunction > | create_reshape_layer (ReshapeLayerNode &node) |
Create a backend reshape layer function. More... | |
template<typename ResizeLayerFunction , typename TargetInfo > | |
std::unique_ptr< IFunction > | create_resize_layer (ResizeLayerNode &node) |
Create a backend resize layer function. More... | |
template<typename ROIAlignLayerFunction , typename TargetInfo > | |
std::unique_ptr< IFunction > | create_roi_align_layer (ROIAlignLayerNode &node) |
Create a backend ROI align layer function. More... | |
template<typename SliceLayerFunction , typename TargetInfo > | |
std::unique_ptr< IFunction > | create_slice_layer (SliceLayerNode &node) |
Create a backend slice layer function. More... | |
template<typename SoftmaxLayerFunction , typename TargetInfo > | |
std::unique_ptr< IFunction > | create_softmax_layer (SoftmaxLayerNode &node, GraphContext &ctx) |
Create a backend softmax layer function. More... | |
template<typename StackLayerFunction , typename TargetInfo > | |
std::unique_ptr< arm_compute::IFunction > | create_stack_layer (StackLayerNode &node) |
Create a backend layer stack function. More... | |
template<typename StridedSliceLayerFunction , typename TargetInfo > | |
std::unique_ptr< IFunction > | create_strided_slice_layer (StridedSliceLayerNode &node) |
Create a backend slice layer function. More... | |
arm_compute::ITensorInfo * | get_backing_tensor_info (arm_compute::graph::Tensor *tensor) |
Returns backing tensor info of a given tensor. More... | |
template<typename ArgMinMaxLayer > | |
Status | validate_arg_min_max_layer (ArgMinMaxLayerNode &node) |
Validates a ArgMinMax layer node. More... | |
template<typename BoundingBoxTransformLayer > | |
Status | validate_bounding_box_transform_layer (BoundingBoxTransformLayerNode &node) |
Validates a Bounding Box Transform layer node. More... | |
template<typename ChannelShuffleLayer > | |
Status | validate_channel_shuffle_layer (ChannelShuffleLayerNode &node) |
Validates a Channel Shuffle layer node. More... | |
template<typename ConvolutionLayer , typename DirectConvolutionLayer , typename GEMMConvolutionLayer , typename WinogradConvolutionLayer > | |
Status | validate_convolution_layer (ConvolutionLayerNode &node) |
Validates a Convolution layer node. More... | |
template<typename DepthwiseConvolutionLayer > | |
Status | validate_depthwise_convolution_layer (DepthwiseConvolutionLayerNode &node) |
Validates a Depthwise Convolution layer node. More... | |
template<typename DepthToSpaceLayer > | |
Status | validate_depth_to_space_layer (DepthToSpaceLayerNode &node) |
Validates a depth to space layer node. More... | |
template<typename DequantizationLayer > | |
Status | validate_dequantization_layer (DequantizationLayerNode &node) |
Validates a dequantize layer node. More... | |
template<typename DetectionOutputLayer > | |
Status | validate_detection_output_layer (DetectionOutputLayerNode &node) |
Validates a detection output layer node. More... | |
template<typename DetectionPostProcessLayer > | |
Status | validate_detection_post_process_layer (DetectionPostProcessLayerNode &node) |
Validates a detection post process layer node. More... | |
template<typename GenerateProposalsLayer > | |
Status | validate_generate_proposals_layer (GenerateProposalsLayerNode &node) |
Validates a Generate Proposals layer node. More... | |
template<typename L2NormalizeLayer > | |
Status | validate_l2_normalize_layer (L2NormalizeLayerNode &node) |
Validates a L2Normalization layer node. More... | |
template<typename NormalizePlanarYUVLayer > | |
Status | validate_normalize_planar_yuv_layer (NormalizePlanarYUVLayerNode &node) |
Validates a NormalizePlanarYUV layer node. More... | |
template<typename PadLayer > | |
Status | validate_pad_layer (PadLayerNode &node) |
Validates a pad layer node. More... | |
template<typename PermuteLayer > | |
Status | validate_permute_layer (PermuteLayerNode &node) |
Validates a permute layer node. More... | |
template<typename PReluLayer > | |
Status | validate_prelu_layer (PReluLayerNode &node) |
Validates a PRelu layer node. More... | |
template<typename PriorBoxLayer > | |
Status | validate_priorbox_layer (PriorBoxLayerNode &node) |
Validates a priorbox layer node. More... | |
template<typename QuantizationLayer > | |
Status | validate_quantization_layer (QuantizationLayerNode &node) |
Validates a Quantization layer node. More... | |
template<typename ReductionLayer > | |
Status | validate_reduction_operation_layer (ReductionLayerNode &node) |
Validates a Reduction operation layer node. More... | |
template<typename ReorgLayer > | |
Status | validate_reorg_layer (ReorgLayerNode &node) |
Validates a Reorg layer node. More... | |
template<typename ReshapeLayer > | |
Status | validate_reshape_layer (ReshapeLayerNode &node) |
Validates a Reshape layer node. More... | |
template<typename ROIAlignLayer > | |
Status | validate_roi_align_layer (ROIAlignLayerNode &node) |
Validates a ROI Align layer node. More... | |
template<typename SliceLayer > | |
Status | validate_slice_layer (SliceLayerNode &node) |
Validates a Slice layer node. More... | |
template<typename StridedSliceLayer > | |
Status | validate_strided_slice_layer (StridedSliceLayerNode &node) |
Validates a Strided Slice layer node. More... | |
template<typename EltwiseLayerFunctions > | |
Status | validate_eltwise_Layer (EltwiseLayerNode &node) |
Validates a element-wise layer node. More... | |
template<typename UnaryEltwiseLayerFunctions > | |
Status | validate_unary_eltwise_layer (UnaryEltwiseLayerNode &node) |
Validates a unary element-wise layer node. More... | |
template<> | |
std::unique_ptr< IFunction > | create_detection_output_layer< CPPDetectionOutputLayer, CLTargetInfo > (DetectionOutputLayerNode &node) |
template<> | |
std::unique_ptr< IFunction > | create_detection_post_process_layer< CPPDetectionPostProcessLayer, CLTargetInfo > (DetectionPostProcessLayerNode &node) |
template<> | |
std::unique_ptr< IFunction > | create_normalization_layer< NENormalizationLayer, NETargetInfo > (NormalizationLayerNode &node, GraphContext &ctx) |
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_activation_layer | ( | ActivationLayerNode & | node | ) |
Creates a backend activation layer function.
ActivationLayerFunction | Backend activation function |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
Definition at line 99 of file FunctionHelpers.h.
References arm_compute::test::validation::act_info, ActivationLayerNode::activation_info(), ARM_COMPUTE_LOG_GRAPH_INFO, INode::input(), arm_compute::test::validation::input, arm_compute::graph::backends::is_in_place_operation(), INode::name(), INode::output(), and ActivationLayerNode::type().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_arg_min_max_layer | ( | ArgMinMaxLayerNode & | node | ) |
Creates a backend argminmax layer function.
ArgMinMaxLayerFunction | Backend activation function |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
Definition at line 131 of file FunctionHelpers.h.
References ARM_COMPUTE_LOG_GRAPH_INFO, ArgMinMaxLayerNode::axis(), INode::input(), arm_compute::test::validation::input, INode::name(), INode::output(), ArgMinMaxLayerNode::reduction_operation(), and ArgMinMaxLayerNode::type().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_batch_normalization_layer | ( | BatchNormalizationLayerNode & | node | ) |
Create a backend batch normalization layer function.
BatchNormalizationLayerFunction | Backend batch normalization function |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
Definition at line 163 of file FunctionHelpers.h.
References ActivationLayerInfo::activation(), ARM_COMPUTE_LOG_GRAPH_INFO, ActivationLayerInfo::enabled(), arm_compute::quantization::epsilon, BatchNormalizationLayerNode::epsilon(), BatchNormalizationLayerNode::fused_activation(), INode::input(), arm_compute::test::validation::input, arm_compute::graph::backends::is_in_place_operation(), INode::name(), INode::output(), arm_compute::to_string(), and BatchNormalizationLayerNode::type().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_bounding_box_transform_layer | ( | BoundingBoxTransformLayerNode & | node | ) |
Create a backend bounding box transform layer function.
BoundingBoxTransformLayerFunction | Backend bounding box transform function |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
Definition at line 312 of file FunctionHelpers.h.
References ARM_COMPUTE_LOG_GRAPH_INFO, BoundingBoxTransformInfo::img_height(), BoundingBoxTransformInfo::img_width(), BoundingBoxTransformLayerNode::info(), INode::input(), arm_compute::test::validation::input, INode::name(), INode::output(), and BoundingBoxTransformLayerNode::type().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_channel_shuffle_layer | ( | ChannelShuffleLayerNode & | node | ) |
Create a backend channel shuffle layer function.
ChannelShuffleLayerFunction | Backend channel shuffle function |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
Definition at line 346 of file FunctionHelpers.h.
References ARM_COMPUTE_LOG_GRAPH_INFO, INode::input(), arm_compute::test::validation::input, INode::name(), ChannelShuffleLayerNode::num_groups(), arm_compute::test::validation::num_groups, INode::output(), and ChannelShuffleLayerNode::type().
std::unique_ptr<arm_compute::IFunction> arm_compute::graph::backends::detail::create_concatenate_layer | ( | ConcatenateLayerNode & | node | ) |
Create a backend layer concatenate function.
ConcatenateLayerFunction | Backend concatenate function |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
Definition at line 377 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, ARM_COMPUTE_LOG_GRAPH_VERBOSE, ConcatenateLayerNode::concatenation_axis(), arm_compute::cpu::data_layout, Tensor::desc(), arm_compute::graph::get_dimension_idx(), INode::id(), INode::input(), arm_compute::is_data_type_quantized_asymmetric(), ConcatenateLayerNode::is_enabled(), TensorDescriptor::layout, INode::name(), INode::num_inputs(), INode::num_outputs(), INode::output(), ConcatenateLayerNode::type(), and arm_compute::UNKNOWN.
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_convolution_layer | ( | ConvolutionLayerNode & | node, |
GraphContext & | ctx | ||
) |
Create a backend convolution layer function.
ConvolutionLayerFunctions | Backend convolution functions |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
[in] | ctx | Graph context |
Definition at line 429 of file FunctionHelpers.h.
References ActivationLayerInfo::activation(), ARM_COMPUTE_ERROR_ON_MSG, ARM_COMPUTE_LOG_GRAPH_INFO, arm_compute::test::validation::conv_info, ConvolutionLayerNode::convolution_info(), ConvolutionLayerNode::convolution_method(), arm_compute::graph::Direct, ActivationLayerInfo::enabled(), arm_compute::graph::Enabled, ConvolutionLayerNode::fast_math_hint(), ConvolutionLayerNode::fused_activation(), arm_compute::graph::GEMM, arm_compute::graph::backends::get_memory_manager(), INode::input(), arm_compute::test::validation::input, arm_compute::is_data_type_quantized_asymmetric(), INode::name(), ConvolutionLayerNode::num_groups(), arm_compute::test::validation::num_groups, INode::output(), arm_compute::S32, arm_compute::to_string(), arm_compute::utils::cast::U, and arm_compute::graph::Winograd.
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_deconvolution_layer | ( | DeconvolutionLayerNode & | node, |
GraphContext & | ctx | ||
) |
Create a backend deconvolution layer function.
DeconvolutionLayerFunction | Backend deconvolution function |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
[in] | ctx | Graph context |
Definition at line 515 of file FunctionHelpers.h.
References ARM_COMPUTE_LOG_GRAPH_INFO, DeconvolutionLayerNode::deconvolution_info(), arm_compute::graph::backends::get_memory_manager(), INode::input(), arm_compute::test::validation::input, INode::name(), INode::output(), and DeconvolutionLayerNode::type().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_depth_to_space_layer | ( | DepthToSpaceLayerNode & | node | ) |
Create a backend depth to space layer function.
DepthToSpaceLayerNode | Function Backend depth to space function |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
Definition at line 610 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, DepthToSpaceLayerNode::block_shape(), INode::input(), arm_compute::test::validation::input, INode::name(), INode::output(), and DepthToSpaceLayerNode::type().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_depthwise_convolution_layer | ( | DepthwiseConvolutionLayerNode & | node | ) |
Create a backend layer depth-wise convolution function.
DepthwiseConvolutionLayerFunctions | Backend depthwise convolution function |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
Definition at line 553 of file FunctionHelpers.h.
References ActivationLayerInfo::activation(), ARM_COMPUTE_LOG_GRAPH_INFO, arm_compute::test::validation::conv_info, DepthwiseConvolutionLayerNode::convolution_info(), DepthwiseConvolutionLayerNode::depth_multiplier(), ActivationLayerInfo::enabled(), DepthwiseConvolutionLayerNode::fused_activation(), INode::input(), arm_compute::test::validation::input, arm_compute::is_data_type_quantized_asymmetric(), INode::name(), INode::output(), arm_compute::S32, and arm_compute::to_string().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_dequantization_layer | ( | DequantizationLayerNode & | node | ) |
Create a backend dequantize layer function.
DequantizationLayer | Function Backend dequantize function |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
Definition at line 645 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, INode::input(), arm_compute::test::validation::input, INode::name(), INode::output(), and DequantizationLayerNode::type().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_detection_output_layer | ( | DetectionOutputLayerNode & | node | ) |
Create a backend detection output layer function.
DetectionOutputLayer | Function Backend detection output function |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
Definition at line 679 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, DetectionOutputLayerNode::detection_output_info(), INode::input(), INode::name(), INode::output(), and DetectionOutputLayerNode::type().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_detection_output_layer< CPPDetectionOutputLayer, CLTargetInfo > | ( | DetectionOutputLayerNode & | node | ) |
Definition at line 130 of file CLFunctionsFactory.cpp.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, ITensorInfo::data_type(), DetectionOutputLayerNode::detection_output_info(), ITensor::info(), INode::input(), INode::name(), INode::output(), ITensorInfo::tensor_shape(), and DetectionOutputLayerNode::type().
Referenced by CLFunctionFactory::create().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_detection_post_process_layer | ( | DetectionPostProcessLayerNode & | node | ) |
Create a backend detection post process layer function.
DetectionPostProcessLayerFunction | Backend detection output function |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
Definition at line 721 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, DetectionPostProcessLayerNode::detection_post_process_info(), INode::input(), INode::name(), INode::output(), and DetectionPostProcessLayerNode::type().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_detection_post_process_layer< CPPDetectionPostProcessLayer, CLTargetInfo > | ( | DetectionPostProcessLayerNode & | node | ) |
Definition at line 171 of file CLFunctionsFactory.cpp.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, ITensorInfo::data_type(), DetectionPostProcessLayerNode::detection_post_process_info(), ITensor::info(), INode::input(), INode::name(), INode::output(), ITensorInfo::tensor_shape(), and DetectionPostProcessLayerNode::type().
Referenced by CLFunctionFactory::create().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_eltwise_layer | ( | EltwiseLayerNode & | node | ) |
Create a backend element-wise operation layer function.
EltwiseFunctions | Backend element-wise function |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
Definition at line 772 of file FunctionHelpers.h.
References arm_compute::test::validation::act_info, arm_compute::graph::Add, ARM_COMPUTE_ERROR, ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, EltwiseLayerNode::convert_policy(), arm_compute::graph::Div, EltwiseLayerNode::eltwise_operation(), EltwiseLayerNode::fused_activation(), INode::input(), arm_compute::graph::Max, arm_compute::graph::Mul, INode::name(), INode::output(), EltwiseLayerNode::rounding_policy(), arm_compute::graph::Sub, and EltwiseLayerNode::type().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_flatten_layer | ( | FlattenLayerNode & | node | ) |
Create a backend flatten layer function.
FlattenLayerFunction | Backend flatten function |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
Definition at line 882 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, INode::input(), arm_compute::test::validation::input, INode::name(), INode::output(), and FlattenLayerNode::type().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_fully_connected_layer | ( | FullyConnectedLayerNode & | node, |
GraphContext & | ctx | ||
) |
Create a backend fully connected layer function.
FullyConnectedLayerFunction | Backend fully-connected function |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
[in] | ctx | Graph context |
Definition at line 917 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, FullyConnectedLayerInfo::enable_fast_math, arm_compute::graph::Enabled, FullyConnectedLayerNode::fast_math_hint(), arm_compute::graph::backends::get_memory_manager(), arm_compute::graph::backends::get_weights_manager(), FullyConnectedLayerNode::info(), INode::input(), arm_compute::test::validation::input, arm_compute::is_data_type_quantized_asymmetric(), INode::name(), INode::output(), and FullyConnectedLayerNode::type().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_fused_convolution_batch_normalization_layer | ( | FusedConvolutionBatchNormalizationNode & | node, |
GraphContext & | ctx | ||
) |
Create a backend batch normalization layer function.
BatchNormalizationLayerFunction | Backend batch normalization function |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
[in] | ctx | Graph context |
Definition at line 204 of file FunctionHelpers.h.
References ActivationLayerInfo::activation(), ARM_COMPUTE_LOG_GRAPH_INFO, arm_compute::test::validation::conv_info, FusedConvolutionBatchNormalizationNode::convolution_info(), ActivationLayerInfo::enabled(), arm_compute::graph::Enabled, arm_compute::quantization::epsilon, FusedConvolutionBatchNormalizationNode::epsilon(), FusedConvolutionBatchNormalizationNode::fast_math_hint(), FusedConvolutionBatchNormalizationNode::fused_activation(), arm_compute::graph::backends::get_memory_manager(), INode::input(), arm_compute::test::validation::input, INode::name(), FusedConvolutionBatchNormalizationNode::num_groups(), arm_compute::test::validation::num_groups, INode::output(), arm_compute::to_string(), and FusedConvolutionBatchNormalizationNode::type().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_fused_depthwise_convolution_batch_normalization_layer | ( | FusedDepthwiseConvolutionBatchNormalizationNode & | node, |
GraphContext & | ctx | ||
) |
Create a backend fused depthwise convolution batch normalization layer function.
FusedLayerTypes | Fused layer types |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
[in] | ctx | Graph context |
Definition at line 259 of file FunctionHelpers.h.
References ActivationLayerInfo::activation(), ARM_COMPUTE_LOG_GRAPH_INFO, arm_compute::test::validation::conv_info, FusedDepthwiseConvolutionBatchNormalizationNode::convolution_info(), FusedDepthwiseConvolutionBatchNormalizationNode::depth_multiplier(), ActivationLayerInfo::enabled(), arm_compute::quantization::epsilon, FusedDepthwiseConvolutionBatchNormalizationNode::epsilon(), FusedDepthwiseConvolutionBatchNormalizationNode::fused_activation(), arm_compute::graph::backends::get_memory_manager(), INode::input(), arm_compute::test::validation::input, INode::name(), INode::output(), arm_compute::to_string(), and FusedDepthwiseConvolutionBatchNormalizationNode::type().
Referenced by CLFunctionFactory::create(), and NEFunctionFactory::create().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_generate_proposals_layer | ( | GenerateProposalsLayerNode & | node, |
GraphContext & | ctx | ||
) |
Create a backend generate proposals layer function.
GenerateProposalsLayerFunction | Backend generate proposals function |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
[in] | ctx | Graph context |
Definition at line 969 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, arm_compute::graph::backends::get_memory_manager(), GenerateProposalsLayerNode::info(), arm_compute::test::validation::info, INode::input(), INode::output(), and GenerateProposalsLayerNode::type().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_l2_normalize_layer | ( | L2NormalizeLayerNode & | node, |
GraphContext & | ctx | ||
) |
Create a backend l2 normalization layer function.
NormalizationLayerFunction | Backend normalization function |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
[in] | ctx | Graph context |
Definition at line 1016 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, L2NormalizeLayerNode::axis(), arm_compute::quantization::epsilon, L2NormalizeLayerNode::epsilon(), arm_compute::graph::backends::get_memory_manager(), INode::input(), arm_compute::test::validation::input, INode::name(), INode::output(), and L2NormalizeLayerNode::type().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_normalization_layer | ( | NormalizationLayerNode & | node, |
GraphContext & | ctx | ||
) |
Create a backend normalization layer function.
NormalizationLayerFunction | Backend normalization function |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
[in] | ctx | Graph context |
Definition at line 1055 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, ARM_COMPUTE_UNUSED, INode::input(), arm_compute::test::validation::input, INode::name(), NormalizationLayerNode::normalization_info(), INode::output(), NormalizationLayerNode::type(), and NormalizationLayerInfo::type().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_normalization_layer< NENormalizationLayer, NETargetInfo > | ( | NormalizationLayerNode & | node, |
GraphContext & | ctx | ||
) |
Definition at line 91 of file NEFunctionFactory.cpp.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, arm_compute::graph::backends::get_memory_manager(), ITensor::info(), INode::input(), arm_compute::test::validation::input, INode::name(), NormalizationLayerNode::normalization_info(), INode::output(), ITensorInfo::tensor_shape(), NormalizationLayerNode::type(), and NormalizationLayerInfo::type().
Referenced by NEFunctionFactory::create().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_normalize_planar_yuv_layer | ( | NormalizePlanarYUVLayerNode & | node | ) |
Create a backend normalize planar YUV layer function.
NormalizePlanarYUVLayerFunction | Backend normalize planar YUV function |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
Definition at line 1092 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, INode::input(), arm_compute::test::validation::input, INode::name(), INode::output(), and NormalizePlanarYUVLayerNode::type().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_pad_layer | ( | PadLayerNode & | node | ) |
Create a backend pad layer function.
PadLayerFunction | Backend pad function |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
Definition at line 1128 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, INode::input(), arm_compute::test::validation::input, INode::name(), INode::output(), PadLayerNode::pad_value(), PadLayerNode::padding(), and PadLayerNode::type().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_permute_layer | ( | PermuteLayerNode & | node | ) |
Create a backend permute layer function.
PermuteLayerFunction | Backend permute function |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
Definition at line 1163 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, INode::input(), arm_compute::test::validation::input, INode::name(), INode::output(), PermuteLayerNode::permutation_vector(), and PermuteLayerNode::type().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_pooling_layer | ( | PoolingLayerNode & | node | ) |
Create a backend pooling layer function.
PoolingLayerFunction | Backend pooling function |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
Definition at line 1198 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, INode::input(), arm_compute::test::validation::input, INode::name(), INode::output(), PoolingLayerInfo::pool_type, PoolingLayerNode::pooling_info(), and PoolingLayerNode::type().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_prelu_layer | ( | PReluLayerNode & | node | ) |
Create a backend PRelu layer function.
PReluFunction | Backend PRelu function |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
Definition at line 1233 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, INode::input(), arm_compute::test::validation::input, INode::name(), INode::output(), and PReluLayerNode::type().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_print_layer | ( | PrintLayerNode & | node | ) |
Create a backend print layer function.
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
Definition at line 1266 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, ARM_COMPUTE_UNUSED, INode::input(), arm_compute::test::validation::input, INode::name(), and PrintLayerNode::type().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_priorbox_layer | ( | PriorBoxLayerNode & | node | ) |
Create a backend priorbox layer function.
PriorBoxLayerFunction | Backend priorbox function |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
Definition at line 1292 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, INode::input(), INode::name(), INode::output(), PriorBoxLayerNode::priorbox_info(), and PriorBoxLayerNode::type().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_quantization_layer | ( | QuantizationLayerNode & | node | ) |
Create a backend quantization layer function.
QuantizationLayerFunction | Backend quantization function |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
Definition at line 1330 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, INode::input(), arm_compute::test::validation::input, INode::name(), INode::output(), and QuantizationLayerNode::type().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_reduction_operation_layer | ( | ReductionLayerNode & | node, |
GraphContext & | ctx | ||
) |
Create a backend reduction operation layer function.
ReductionOperationFunction | Backend reduction operation function |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
[in] | ctx | Graph context |
Definition at line 1364 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, ReductionLayerNode::axis(), arm_compute::graph::backends::get_memory_manager(), INode::input(), arm_compute::test::validation::input, ReductionLayerNode::keep_dims(), INode::name(), ReductionLayerNode::op(), INode::output(), and ReductionLayerNode::type().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_reorg_layer | ( | ReorgLayerNode & | node | ) |
Create a backend reorg layer function.
ReorgLayerFunction | Backend reorg function |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
Definition at line 1402 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, INode::input(), arm_compute::test::validation::input, INode::name(), INode::output(), ReorgLayerNode::stride(), and ReorgLayerNode::type().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_reshape_layer | ( | ReshapeLayerNode & | node | ) |
Create a backend reshape layer function.
ReshapeLayerFunction | Backend reshape function |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
Definition at line 1435 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, INode::input(), arm_compute::test::validation::input, INode::name(), INode::output(), and ReshapeLayerNode::type().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_resize_layer | ( | ResizeLayerNode & | node | ) |
Create a backend resize layer function.
ResizeLayerFunction | Backend resize function |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
Definition at line 1468 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, arm_compute::CENTER, arm_compute::CONSTANT, INode::input(), arm_compute::test::validation::input, INode::name(), INode::output(), ResizeLayerNode::policy(), and ResizeLayerNode::type().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_roi_align_layer | ( | ROIAlignLayerNode & | node | ) |
Create a backend ROI align layer function.
ROIAlignLayerFunction | ROI Align function |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
Definition at line 1504 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, INode::input(), arm_compute::test::validation::input, INode::name(), INode::output(), ROIPoolingLayerInfo::pooled_height(), ROIPoolingLayerInfo::pooled_width(), ROIAlignLayerNode::pooling_info(), and ROIAlignLayerNode::type().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_slice_layer | ( | SliceLayerNode & | node | ) |
Create a backend slice layer function.
SliceLayerFunction | Backend slice function |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
Definition at line 1545 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, SliceLayerNode::ends(), INode::input(), arm_compute::test::validation::input, INode::name(), INode::output(), SliceLayerNode::starts(), and SliceLayerNode::type().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_softmax_layer | ( | SoftmaxLayerNode & | node, |
GraphContext & | ctx | ||
) |
Create a backend softmax layer function.
SoftmaxLayerFunction | Backend softmax function |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
[in] | ctx | Graph context |
Definition at line 1579 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, SoftmaxLayerNode::beta(), arm_compute::graph::backends::get_memory_manager(), INode::input(), arm_compute::test::validation::input, INode::name(), INode::output(), and SoftmaxLayerNode::type().
std::unique_ptr<arm_compute::IFunction> arm_compute::graph::backends::detail::create_stack_layer | ( | StackLayerNode & | node | ) |
Create a backend layer stack function.
StackLayerFunction | Backend stack function |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
Definition at line 1613 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, ARM_COMPUTE_LOG_GRAPH_VERBOSE, StackLayerNode::axis(), INode::id(), INode::input(), INode::name(), INode::num_inputs(), INode::num_outputs(), INode::output(), and StackLayerNode::type().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_strided_slice_layer | ( | StridedSliceLayerNode & | node | ) |
Create a backend slice layer function.
StridedSliceLayerFunction | Backend strided slice function |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
Definition at line 1653 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, StridedSliceLayerNode::ends(), arm_compute::test::validation::info, INode::input(), arm_compute::test::validation::input, INode::name(), INode::output(), StridedSliceLayerNode::starts(), StridedSliceLayerNode::strided_slice_info(), StridedSliceLayerNode::strides(), and StridedSliceLayerNode::type().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_unary_eltwise_layer | ( | UnaryEltwiseLayerNode & | node | ) |
Create a backend unary element-wise operation layer function.
UnaryEltwiseFunctions | Backend unary element-wise function |
TargetInfo | Target-specific information |
[in] | node | Node to create the backend function for |
Definition at line 839 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR, ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, UnaryEltwiseLayerNode::eltwise_descriptor(), arm_compute::graph::Exp, INode::input(), arm_compute::test::validation::input, INode::name(), UnaryEltwiseLayerDescriptor::op, INode::output(), and UnaryEltwiseLayerNode::type().
TargetInfo::TensorType* arm_compute::graph::backends::detail::get_backing_tensor | ( | arm_compute::graph::Tensor * | tensor | ) |
Returns backing tensor of a given tensor.
TargetInfo | Target information |
[in] | tensor | Tensor to extract the backing tensor from |
Definition at line 59 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, tensor, and ITensorHandle::tensor().
|
inline |
Returns backing tensor info of a given tensor.
[in] | tensor | Tensor to extract the backing tensor from |
Definition at line 49 of file ValidateHelpers.h.
References tensor.
Referenced by validate_arg_min_max_layer(), validate_bounding_box_transform_layer(), validate_channel_shuffle_layer(), validate_convolution_layer(), validate_depth_to_space_layer(), validate_depthwise_convolution_layer(), validate_dequantization_layer(), validate_detection_output_layer(), validate_detection_post_process_layer(), validate_eltwise_Layer(), validate_generate_proposals_layer(), validate_l2_normalize_layer(), validate_normalize_planar_yuv_layer(), validate_pad_layer(), validate_permute_layer(), validate_prelu_layer(), validate_priorbox_layer(), validate_quantization_layer(), validate_reduction_operation_layer(), validate_reorg_layer(), validate_reshape_layer(), validate_roi_align_layer(), validate_slice_layer(), validate_strided_slice_layer(), and validate_unary_eltwise_layer().
Status arm_compute::graph::backends::detail::validate_arg_min_max_layer | ( | ArgMinMaxLayerNode & | node | ) |
Validates a ArgMinMax layer node.
ArgMinMax | layer function type |
[in] | node | Node to validate |
Definition at line 63 of file ValidateHelpers.h.
References ARM_COMPUTE_LOG_GRAPH_VERBOSE, ARM_COMPUTE_RETURN_ERROR_ON, ArgMinMaxLayerNode::axis(), get_backing_tensor_info(), INode::id(), INode::input(), arm_compute::test::validation::input, INode::name(), INode::num_inputs(), INode::num_outputs(), INode::output(), ArgMinMaxLayerNode::reduction_operation(), and arm_compute::validate().
Status arm_compute::graph::backends::detail::validate_bounding_box_transform_layer | ( | BoundingBoxTransformLayerNode & | node | ) |
Validates a Bounding Box Transform layer node.
BoundingBoxTransformLayer | Bounding Box Transform layer function type |
[in] | node | Node to validate |
Definition at line 87 of file ValidateHelpers.h.
References ARM_COMPUTE_LOG_GRAPH_VERBOSE, ARM_COMPUTE_RETURN_ERROR_ON, get_backing_tensor_info(), INode::id(), BoundingBoxTransformLayerNode::info(), INode::input(), arm_compute::test::validation::input, INode::name(), INode::num_inputs(), INode::num_outputs(), INode::output(), and arm_compute::validate().
Status arm_compute::graph::backends::detail::validate_channel_shuffle_layer | ( | ChannelShuffleLayerNode & | node | ) |
Validates a Channel Shuffle layer node.
ChannelShuffleLayer | Channel Shuffle layer function type |
[in] | node | Node to validate |
Definition at line 112 of file ValidateHelpers.h.
References ARM_COMPUTE_LOG_GRAPH_VERBOSE, ARM_COMPUTE_RETURN_ERROR_ON, get_backing_tensor_info(), INode::id(), INode::input(), arm_compute::test::validation::input, INode::name(), ChannelShuffleLayerNode::num_groups(), arm_compute::test::validation::num_groups, INode::num_inputs(), INode::num_outputs(), INode::output(), and arm_compute::validate().
Status arm_compute::graph::backends::detail::validate_convolution_layer | ( | ConvolutionLayerNode & | node | ) |
Validates a Convolution layer node.
ConvolutionLayer | Default Convolution layer function type |
DirectConvolutionLayer | Direct Convolution layer function type |
GEMMConvolutionLayer | GEMM Convolution layer function type |
WinogradConvolutionLayer | Winograd Convolution layer function type |
[in] | node | Node to validate |
Definition at line 142 of file ValidateHelpers.h.
References ARM_COMPUTE_LOG_GRAPH_VERBOSE, ARM_COMPUTE_RETURN_ERROR_MSG, ARM_COMPUTE_RETURN_ERROR_ON, ARM_COMPUTE_RETURN_ERROR_ON_MSG, arm_compute::test::validation::conv_info, ConvolutionLayerNode::convolution_info(), ConvolutionLayerNode::convolution_method(), arm_compute::graph::Default, arm_compute::graph::Direct, arm_compute::graph::Enabled, ConvolutionLayerNode::fast_math_hint(), arm_compute::graph::GEMM, get_backing_tensor_info(), INode::id(), INode::input(), arm_compute::test::validation::input, arm_compute::is_data_type_quantized_asymmetric(), INode::name(), ConvolutionLayerNode::num_groups(), arm_compute::test::validation::num_groups, INode::num_inputs(), INode::num_outputs(), INode::output(), arm_compute::S32, ITensorInfo::set_data_type(), arm_compute::validate(), and arm_compute::graph::Winograd.
Referenced by CLNodeValidator::validate(), and NENodeValidator::validate().
Status arm_compute::graph::backends::detail::validate_depth_to_space_layer | ( | DepthToSpaceLayerNode & | node | ) |
Validates a depth to space layer node.
DequantizationLayer | Dequantize layer type |
[in] | node | Node to validate |
Definition at line 242 of file ValidateHelpers.h.
References ARM_COMPUTE_LOG_GRAPH_VERBOSE, ARM_COMPUTE_RETURN_ERROR_ON, DepthToSpaceLayerNode::block_shape(), get_backing_tensor_info(), INode::id(), INode::input(), arm_compute::test::validation::input, INode::name(), INode::num_inputs(), INode::num_outputs(), INode::output(), and arm_compute::validate().
Status arm_compute::graph::backends::detail::validate_depthwise_convolution_layer | ( | DepthwiseConvolutionLayerNode & | node | ) |
Validates a Depthwise Convolution layer node.
DepthwiseConvolutionLayer | Default Depthwise Convolution layer type |
[in] | node | Node to validate |
Definition at line 202 of file ValidateHelpers.h.
References ARM_COMPUTE_LOG_GRAPH_VERBOSE, ARM_COMPUTE_RETURN_ERROR_MSG, ARM_COMPUTE_RETURN_ERROR_ON, arm_compute::test::validation::conv_info, DepthwiseConvolutionLayerNode::convolution_info(), arm_compute::graph::Default, DepthwiseConvolutionLayerNode::depth_multiplier(), DepthwiseConvolutionLayerNode::depthwise_convolution_method(), get_backing_tensor_info(), INode::id(), INode::input(), arm_compute::test::validation::input, INode::name(), INode::num_inputs(), INode::num_outputs(), arm_compute::graph::Optimized3x3, INode::output(), and arm_compute::validate().
Status arm_compute::graph::backends::detail::validate_dequantization_layer | ( | DequantizationLayerNode & | node | ) |
Validates a dequantize layer node.
DequantizationLayer | Dequantize layer type |
[in] | node | Node to validate |
Definition at line 264 of file ValidateHelpers.h.
References ARM_COMPUTE_LOG_GRAPH_VERBOSE, ARM_COMPUTE_RETURN_ERROR_ON, get_backing_tensor_info(), INode::id(), INode::input(), arm_compute::test::validation::input, INode::name(), INode::num_inputs(), INode::num_outputs(), INode::output(), and arm_compute::validate().
Status arm_compute::graph::backends::detail::validate_detection_output_layer | ( | DetectionOutputLayerNode & | node | ) |
Validates a detection output layer node.
DetectionOutputLayer | DetectionOutput layer type |
[in] | node | Node to validate |
Definition at line 286 of file ValidateHelpers.h.
References ARM_COMPUTE_LOG_GRAPH_VERBOSE, ARM_COMPUTE_RETURN_ERROR_ON, DetectionOutputLayerNode::detection_output_info(), get_backing_tensor_info(), INode::id(), INode::input(), INode::name(), INode::num_inputs(), INode::num_outputs(), INode::output(), and arm_compute::validate().
Status arm_compute::graph::backends::detail::validate_detection_post_process_layer | ( | DetectionPostProcessLayerNode & | node | ) |
Validates a detection post process layer node.
DetectionPostProcessLayer | DetectionOutput layer type |
[in] | node | Node to validate |
Definition at line 311 of file ValidateHelpers.h.
References ARM_COMPUTE_LOG_GRAPH_VERBOSE, ARM_COMPUTE_RETURN_ERROR_ON, DetectionPostProcessLayerNode::detection_post_process_info(), get_backing_tensor_info(), INode::id(), INode::input(), INode::name(), INode::num_inputs(), INode::num_outputs(), INode::output(), and arm_compute::validate().
Status arm_compute::graph::backends::detail::validate_eltwise_Layer | ( | EltwiseLayerNode & | node | ) |
Validates a element-wise layer node.
[in] | node | Node to validate |
Definition at line 691 of file ValidateHelpers.h.
References arm_compute::test::validation::act_info, arm_compute::graph::Add, ARM_COMPUTE_ERROR, ARM_COMPUTE_LOG_GRAPH_VERBOSE, ARM_COMPUTE_RETURN_ERROR_ON, EltwiseLayerNode::convert_policy(), arm_compute::graph::Div, EltwiseLayerNode::eltwise_operation(), EltwiseLayerNode::fused_activation(), get_backing_tensor_info(), INode::id(), INode::input(), arm_compute::graph::Max, arm_compute::graph::Mul, INode::name(), INode::num_inputs(), INode::num_outputs(), INode::output(), EltwiseLayerNode::output_quant_info(), EltwiseLayerNode::rounding_policy(), arm_compute::graph::Sub, and arm_compute::validate().
Status arm_compute::graph::backends::detail::validate_generate_proposals_layer | ( | GenerateProposalsLayerNode & | node | ) |
Validates a Generate Proposals layer node.
GenerateProposalsLayer | Generate Proposals layer type |
[in] | node | Node to validate |
Definition at line 340 of file ValidateHelpers.h.
References ARM_COMPUTE_LOG_GRAPH_VERBOSE, ARM_COMPUTE_RETURN_ERROR_ON, get_backing_tensor_info(), INode::id(), GenerateProposalsLayerNode::info(), arm_compute::test::validation::info, INode::input(), INode::name(), INode::num_inputs(), INode::num_outputs(), INode::output(), and arm_compute::validate().
Status arm_compute::graph::backends::detail::validate_l2_normalize_layer | ( | L2NormalizeLayerNode & | node | ) |
Validates a L2Normalization layer node.
L2Normalization | layer type |
[in] | node | Node to validate |
Definition at line 368 of file ValidateHelpers.h.
References ARM_COMPUTE_LOG_GRAPH_VERBOSE, ARM_COMPUTE_RETURN_ERROR_ON, L2NormalizeLayerNode::axis(), arm_compute::quantization::epsilon, L2NormalizeLayerNode::epsilon(), get_backing_tensor_info(), INode::id(), INode::input(), arm_compute::test::validation::input, INode::name(), INode::num_inputs(), INode::num_outputs(), INode::output(), and arm_compute::validate().
void arm_compute::graph::backends::detail::validate_node | ( | const INode & | node, |
size_t | num_expected_inputs, | ||
size_t | num_expected_outputs | ||
) |
Definition at line 78 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_VERBOSE, ARM_COMPUTE_UNUSED, INode::assigned_target(), INode::id(), INode::name(), INode::num_inputs(), INode::num_outputs(), and INode::type().
Status arm_compute::graph::backends::detail::validate_normalize_planar_yuv_layer | ( | NormalizePlanarYUVLayerNode & | node | ) |
Validates a NormalizePlanarYUV layer node.
NormalizePlanarYUVLayer | layer type |
[in] | node | Node to validate |
Definition at line 394 of file ValidateHelpers.h.
References ARM_COMPUTE_LOG_GRAPH_VERBOSE, ARM_COMPUTE_RETURN_ERROR_ON, get_backing_tensor_info(), INode::id(), INode::input(), arm_compute::test::validation::input, INode::name(), INode::num_inputs(), INode::num_outputs(), INode::output(), and arm_compute::validate().
Status arm_compute::graph::backends::detail::validate_pad_layer | ( | PadLayerNode & | node | ) |
Validates a pad layer node.
PadLayer | Pad layer type |
[in] | node | Node to validate |
Definition at line 420 of file ValidateHelpers.h.
References ARM_COMPUTE_LOG_GRAPH_VERBOSE, ARM_COMPUTE_RETURN_ERROR_ON, get_backing_tensor_info(), INode::id(), INode::input(), arm_compute::test::validation::input, INode::name(), INode::num_inputs(), INode::num_outputs(), INode::output(), PadLayerNode::padding(), and arm_compute::validate().
Status arm_compute::graph::backends::detail::validate_permute_layer | ( | PermuteLayerNode & | node | ) |
Validates a permute layer node.
PermuteLayer | Permute layer type |
[in] | node | Node to validate |
Definition at line 444 of file ValidateHelpers.h.
References ARM_COMPUTE_LOG_GRAPH_VERBOSE, ARM_COMPUTE_RETURN_ERROR_ON, get_backing_tensor_info(), INode::id(), INode::input(), arm_compute::test::validation::input, INode::name(), INode::num_inputs(), INode::num_outputs(), INode::output(), PermuteLayerNode::permutation_vector(), and arm_compute::validate().
Status arm_compute::graph::backends::detail::validate_prelu_layer | ( | PReluLayerNode & | node | ) |
Validates a PRelu layer node.
PReluLayer | PRelu layer type |
[in] | node | Node to validate |
Definition at line 468 of file ValidateHelpers.h.
References ARM_COMPUTE_LOG_GRAPH_VERBOSE, ARM_COMPUTE_RETURN_ERROR_ON, get_backing_tensor_info(), INode::id(), INode::input(), arm_compute::test::validation::input, INode::name(), INode::num_inputs(), INode::num_outputs(), INode::output(), and arm_compute::validate().
Status arm_compute::graph::backends::detail::validate_priorbox_layer | ( | PriorBoxLayerNode & | node | ) |
Validates a priorbox layer node.
PriorBoxLayer | PriorBox layer type |
[in] | node | Node to validate |
Definition at line 492 of file ValidateHelpers.h.
References ARM_COMPUTE_LOG_GRAPH_VERBOSE, ARM_COMPUTE_RETURN_ERROR_ON, get_backing_tensor_info(), INode::id(), INode::input(), INode::name(), INode::num_inputs(), INode::num_outputs(), INode::output(), PriorBoxLayerNode::priorbox_info(), and arm_compute::validate().
Status arm_compute::graph::backends::detail::validate_quantization_layer | ( | QuantizationLayerNode & | node | ) |
Validates a Quantization layer node.
QuantizationLayer | Quantization layer type |
[in] | node | Node to validate |
Definition at line 517 of file ValidateHelpers.h.
References ARM_COMPUTE_LOG_GRAPH_VERBOSE, ARM_COMPUTE_RETURN_ERROR_ON, get_backing_tensor_info(), INode::id(), INode::input(), arm_compute::test::validation::input, INode::name(), INode::num_inputs(), INode::num_outputs(), INode::output(), and arm_compute::validate().
Status arm_compute::graph::backends::detail::validate_reduction_operation_layer | ( | ReductionLayerNode & | node | ) |
Validates a Reduction operation layer node.
ReductionLayer | Reduction layer type |
[in] | node | Node to validate |
Definition at line 541 of file ValidateHelpers.h.
References ARM_COMPUTE_LOG_GRAPH_VERBOSE, ARM_COMPUTE_RETURN_ERROR_ON, ReductionLayerNode::axis(), get_backing_tensor_info(), INode::id(), INode::input(), arm_compute::test::validation::input, ReductionLayerNode::keep_dims(), INode::name(), INode::num_inputs(), INode::num_outputs(), ReductionLayerNode::op(), INode::output(), and arm_compute::validate().
Status arm_compute::graph::backends::detail::validate_reorg_layer | ( | ReorgLayerNode & | node | ) |
Validates a Reorg layer node.
ReorgLayer | Reorg layer type |
[in] | node | Node to validate |
Definition at line 566 of file ValidateHelpers.h.
References ARM_COMPUTE_LOG_GRAPH_VERBOSE, ARM_COMPUTE_RETURN_ERROR_ON, get_backing_tensor_info(), INode::id(), INode::input(), arm_compute::test::validation::input, INode::name(), INode::num_inputs(), INode::num_outputs(), INode::output(), ReorgLayerNode::stride(), and arm_compute::validate().
Status arm_compute::graph::backends::detail::validate_reshape_layer | ( | ReshapeLayerNode & | node | ) |
Validates a Reshape layer node.
ReshapeLayer | Reshape layer type |
[in] | node | Node to validate |
Definition at line 590 of file ValidateHelpers.h.
References ARM_COMPUTE_LOG_GRAPH_VERBOSE, ARM_COMPUTE_RETURN_ERROR_ON, get_backing_tensor_info(), INode::id(), INode::input(), arm_compute::test::validation::input, INode::name(), INode::num_inputs(), INode::num_outputs(), INode::output(), and arm_compute::validate().
Status arm_compute::graph::backends::detail::validate_roi_align_layer | ( | ROIAlignLayerNode & | node | ) |
Validates a ROI Align layer node.
ROIAlignLayer | ROIAlign layer type |
[in] | node | Node to validate |
Definition at line 614 of file ValidateHelpers.h.
References ARM_COMPUTE_LOG_GRAPH_VERBOSE, ARM_COMPUTE_RETURN_ERROR_ON, get_backing_tensor_info(), INode::id(), INode::input(), arm_compute::test::validation::input, INode::name(), INode::num_inputs(), INode::num_outputs(), INode::output(), ROIAlignLayerNode::pooling_info(), and arm_compute::validate().
Status arm_compute::graph::backends::detail::validate_slice_layer | ( | SliceLayerNode & | node | ) |
Validates a Slice layer node.
SliceLayer | Slice layer function type |
[in] | node | Node to validate |
Definition at line 640 of file ValidateHelpers.h.
References ARM_COMPUTE_LOG_GRAPH_VERBOSE, ARM_COMPUTE_RETURN_ERROR_ON, SliceLayerNode::ends(), get_backing_tensor_info(), INode::id(), INode::input(), arm_compute::test::validation::input, INode::name(), INode::num_inputs(), INode::num_outputs(), INode::output(), SliceLayerNode::starts(), and arm_compute::validate().
Status arm_compute::graph::backends::detail::validate_strided_slice_layer | ( | StridedSliceLayerNode & | node | ) |
Validates a Strided Slice layer node.
StridedSliceLayer | Strided Slice layer function type |
[in] | node | Node to validate |
Definition at line 665 of file ValidateHelpers.h.
References ARM_COMPUTE_LOG_GRAPH_VERBOSE, ARM_COMPUTE_RETURN_ERROR_ON, StridedSliceLayerNode::ends(), get_backing_tensor_info(), INode::id(), arm_compute::test::validation::info, INode::input(), arm_compute::test::validation::input, INode::name(), INode::num_inputs(), INode::num_outputs(), INode::output(), StridedSliceLayerNode::starts(), StridedSliceLayerNode::strided_slice_info(), StridedSliceLayerNode::strides(), and arm_compute::validate().
Status arm_compute::graph::backends::detail::validate_unary_eltwise_layer | ( | UnaryEltwiseLayerNode & | node | ) |
Validates a unary element-wise layer node.
[in] | node | Node to validate |
Definition at line 743 of file ValidateHelpers.h.
References ARM_COMPUTE_ERROR, ARM_COMPUTE_LOG_GRAPH_VERBOSE, ARM_COMPUTE_RETURN_ERROR_ON, UnaryEltwiseLayerNode::eltwise_descriptor(), arm_compute::graph::Exp, get_backing_tensor_info(), INode::id(), INode::input(), arm_compute::test::validation::input, INode::name(), INode::num_inputs(), INode::num_outputs(), UnaryEltwiseLayerDescriptor::op, INode::output(), and arm_compute::validate().