21.02
|
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_convolution_layer< GCConvolutionLayerFunctions, GCTargetInfo > (ConvolutionLayerNode &node, GraphContext &ctx) |
template<> | |
std::unique_ptr< IFunction > | create_depthwise_convolution_layer< GCDepthwiseConvolutionLayerFunctions, GCTargetInfo > (DepthwiseConvolutionLayerNode &node) |
template<> | |
std::unique_ptr< IFunction > | create_eltwise_layer< GCEltwiseFunctions, GCTargetInfo > (EltwiseLayerNode &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_LOG_GRAPH_INFO, func, arm_compute::test::validation::input, and arm_compute::graph::backends::is_in_place_operation().
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 137 of file FunctionHelpers.h.
References ARM_COMPUTE_LOG_GRAPH_INFO, func, and arm_compute::test::validation::input.
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 174 of file FunctionHelpers.h.
References ActivationLayerInfo::activation(), ARM_COMPUTE_LOG_GRAPH_INFO, ActivationLayerInfo::enabled(), arm_compute::quantization::epsilon, func, arm_compute::test::validation::input, arm_compute::graph::backends::is_in_place_operation(), and arm_compute::to_string().
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 331 of file FunctionHelpers.h.
References ARM_COMPUTE_LOG_GRAPH_INFO, func, and arm_compute::test::validation::input.
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 369 of file FunctionHelpers.h.
References ARM_COMPUTE_LOG_GRAPH_INFO, func, arm_compute::test::validation::input, and arm_compute::test::validation::num_groups.
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 404 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, ARM_COMPUTE_LOG_GRAPH_VERBOSE, ConcatenateLayerNode::concatenation_axis(), arm_compute::test::validation::data_layout, Tensor::desc(), func, 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 461 of file FunctionHelpers.h.
References ActivationLayerInfo::activation(), ARM_COMPUTE_ERROR_ON_MSG, ARM_COMPUTE_LOG_GRAPH_INFO, arm_compute::test::validation::conv_info, arm_compute::graph::Direct, arm_compute::graph::Enabled, ActivationLayerInfo::enabled(), func, arm_compute::graph::GEMM, arm_compute::graph::backends::get_memory_manager(), arm_compute::test::validation::input, arm_compute::is_data_type_quantized_asymmetric(), arm_compute::test::validation::num_groups, 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_convolution_layer< GCConvolutionLayerFunctions, GCTargetInfo > | ( | ConvolutionLayerNode & | node, |
GraphContext & | ctx | ||
) |
Definition at line 74 of file GCFunctionsFactory.cpp.
References ActivationLayerInfo::activation(), ARM_COMPUTE_LOG_GRAPH_INFO, arm_compute::test::validation::conv_info, ActivationLayerInfo::enabled(), func, arm_compute::graph::backends::get_memory_manager(), ITensor::info(), arm_compute::test::validation::input, arm_compute::is_data_type_quantized_asymmetric(), arm_compute::S32, ITensorInfo::set_data_type(), arm_compute::to_string(), and arm_compute::utils::cast::U.
Referenced by GCFunctionFactory::create().
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 552 of file FunctionHelpers.h.
References ARM_COMPUTE_LOG_GRAPH_INFO, func, arm_compute::graph::backends::get_memory_manager(), and arm_compute::test::validation::input.
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 657 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, func, and arm_compute::test::validation::input.
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 595 of file FunctionHelpers.h.
References ActivationLayerInfo::activation(), ARM_COMPUTE_LOG_GRAPH_INFO, arm_compute::test::validation::conv_info, ActivationLayerInfo::enabled(), func, arm_compute::test::validation::input, arm_compute::is_data_type_quantized_asymmetric(), arm_compute::S32, and arm_compute::to_string().
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_depthwise_convolution_layer< GCDepthwiseConvolutionLayerFunctions, GCTargetInfo > | ( | DepthwiseConvolutionLayerNode & | node | ) |
Definition at line 127 of file GCFunctionsFactory.cpp.
References ActivationLayerInfo::activation(), ARM_COMPUTE_ERROR, ARM_COMPUTE_LOG_GRAPH_INFO, arm_compute::test::validation::conv_info, ActivationLayerInfo::enabled(), func, ITensor::info(), arm_compute::test::validation::input, arm_compute::is_data_type_quantized_asymmetric(), arm_compute::S32, ITensorInfo::set_data_type(), and arm_compute::to_string().
Referenced by GCFunctionFactory::create().
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 696 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, func, and arm_compute::test::validation::input.
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 734 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, and func.
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_detection_output_layer< CPPDetectionOutputLayer, CLTargetInfo > | ( | DetectionOutputLayerNode & | node | ) |
Definition at line 129 of file CLFunctionsFactory.cpp.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, and func.
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 780 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, and func.
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_detection_post_process_layer< CPPDetectionPostProcessLayer, CLTargetInfo > | ( | DetectionPostProcessLayerNode & | node | ) |
Definition at line 173 of file CLFunctionsFactory.cpp.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, and func.
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 835 of file FunctionHelpers.h.
References arm_compute::graph::Add, ARM_COMPUTE_ERROR, ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, func, arm_compute::graph::Max, arm_compute::graph::Mul, and arm_compute::graph::Sub.
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_eltwise_layer< GCEltwiseFunctions, GCTargetInfo > | ( | EltwiseLayerNode & | node | ) |
Definition at line 179 of file GCFunctionsFactory.cpp.
References ARM_COMPUTE_ERROR, ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, ARM_COMPUTE_LOG_GRAPH_VERBOSE, and func.
Referenced by GCFunctionFactory::create().
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 952 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, func, and arm_compute::test::validation::input.
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 991 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, func, arm_compute::graph::backends::get_memory_manager(), arm_compute::graph::backends::get_weights_manager(), arm_compute::test::validation::input, and arm_compute::is_data_type_quantized_asymmetric().
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 219 of file FunctionHelpers.h.
References ActivationLayerInfo::activation(), ARM_COMPUTE_LOG_GRAPH_INFO, arm_compute::test::validation::conv_info, arm_compute::graph::Enabled, ActivationLayerInfo::enabled(), arm_compute::quantization::epsilon, func, arm_compute::graph::backends::get_memory_manager(), arm_compute::test::validation::input, arm_compute::test::validation::num_groups, and arm_compute::to_string().
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 276 of file FunctionHelpers.h.
References ActivationLayerInfo::activation(), ARM_COMPUTE_LOG_GRAPH_INFO, arm_compute::test::validation::conv_info, ActivationLayerInfo::enabled(), arm_compute::quantization::epsilon, func, arm_compute::graph::backends::get_memory_manager(), arm_compute::test::validation::input, and arm_compute::to_string().
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 1047 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, func, arm_compute::graph::backends::get_memory_manager(), and arm_compute::test::validation::info.
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 1096 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, arm_compute::quantization::epsilon, func, arm_compute::graph::backends::get_memory_manager(), and arm_compute::test::validation::input.
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 1140 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, ARM_COMPUTE_UNUSED, func, and arm_compute::test::validation::input.
std::unique_ptr<IFunction> arm_compute::graph::backends::detail::create_normalization_layer< NENormalizationLayer, NETargetInfo > | ( | NormalizationLayerNode & | node, |
GraphContext & | ctx | ||
) |
Definition at line 92 of file NEFunctionFactory.cpp.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, func, arm_compute::graph::backends::get_memory_manager(), and arm_compute::test::validation::input.
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 1181 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, func, and arm_compute::test::validation::input.
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 1221 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, func, and arm_compute::test::validation::input.
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 1260 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, func, and arm_compute::test::validation::input.
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 1299 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, func, and arm_compute::test::validation::input.
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 1338 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, func, and arm_compute::test::validation::input.
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 1375 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, ARM_COMPUTE_UNUSED, and arm_compute::test::validation::input.
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 1405 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, and func.
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 1447 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, func, and arm_compute::test::validation::input.
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 1485 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, func, arm_compute::graph::backends::get_memory_manager(), and arm_compute::test::validation::input.
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 1528 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, func, and arm_compute::test::validation::input.
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 1565 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, func, and arm_compute::test::validation::input.
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 1602 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, arm_compute::CENTER, arm_compute::CONSTANT, func, and arm_compute::test::validation::input.
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 1641 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, func, arm_compute::test::validation::input, ROIPoolingLayerInfo::pooled_height(), and ROIPoolingLayerInfo::pooled_width().
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 1686 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, func, and arm_compute::test::validation::input.
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 1724 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, func, arm_compute::graph::backends::get_memory_manager(), and arm_compute::test::validation::input.
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 1762 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, ARM_COMPUTE_LOG_GRAPH_VERBOSE, StackLayerNode::axis(), func, 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 1805 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, StridedSliceLayerInfo::begin_mask(), StridedSliceLayerInfo::end_mask(), func, arm_compute::test::validation::info, arm_compute::test::validation::input, and StridedSliceLayerInfo::shrink_axis_mask().
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 904 of file FunctionHelpers.h.
References ARM_COMPUTE_ERROR, ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_LOG_GRAPH_INFO, arm_compute::graph::Exp, func, and arm_compute::test::validation::input.
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::desc(), Tensor::handle(), and TensorDescriptor::target.
|
inline |
Returns backing tensor info of a given tensor.
[in] | tensor | Tensor to extract the backing tensor from |
Definition at line 50 of file ValidateHelpers.h.
References Tensor::handle(), ITensor::info(), and ITensorHandle::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 64 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 111 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 137 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(), NENodeValidator::validate(), and GCNodeValidator::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 234 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 195 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().
Referenced by GCNodeValidator::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 255 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 276 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 300 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 664 of file ValidateHelpers.h.
References arm_compute::graph::Add, ARM_COMPUTE_ERROR, ARM_COMPUTE_LOG_GRAPH_VERBOSE, ARM_COMPUTE_RETURN_ERROR_ON, EltwiseLayerNode::convert_policy(), 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 328 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 355 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 75 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 380 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 405 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 428 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 451 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 474 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 498 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 521 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 545 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 568 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 591 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 616 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 640 of file ValidateHelpers.h.
References ARM_COMPUTE_LOG_GRAPH_VERBOSE, ARM_COMPUTE_RETURN_ERROR_ON, StridedSliceLayerInfo::begin_mask(), StridedSliceLayerInfo::end_mask(), 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(), StridedSliceLayerInfo::shrink_axis_mask(), 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 710 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().