Compute Library
 22.11
FunctionHelpers.h File Reference

Go to the source code of this file.

Namespaces

 arm_compute
 Copyright (c) 2017-2022 Arm Limited.
 
 arm_compute::graph
 
 arm_compute::graph::backends
 
 arm_compute::graph::backends::detail
 

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::IFunctioncreate_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 ConvolutionLayerFunctions , typename TargetInfo >
std::unique_ptr< IFunction > create_fused_convolution_with_post_op (FusedConvolutionWithPostOpNode &node, GraphContext &ctx)
 Create a backend convolution layer function with post operator. More...
 
template<typename FusedLayerTypes , typename TargetInfo >
std::unique_ptr< IFunction > create_fused_convolution_batch_normalization_with_post_op (FusedConvolutionBatchNormalizationWithPostOpsNode &node, GraphContext &ctx)
 Create a backend convolution batch normalization layer function with post operator. 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::IFunctioncreate_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...