21.08
|
Functions | |
arm_gemm::Activation | map_to_arm_gemm_activation (const ActivationLayerInfo &act) |
Performs a mapping between Compute Library ActivationLayerInfo and the assembly Activation structure. More... | |
arm_conv::PaddingValues | map_to_arm_conv_padding (const PadStrideInfo &pad_stride_info) |
Performs a mapping between Compute Library PadStrideInfo and the assembly PaddingValues structure. More... | |
arm_conv::PaddingValues map_to_arm_conv_padding | ( | const PadStrideInfo & | pad_stride_info | ) |
Performs a mapping between Compute Library PadStrideInfo and the assembly PaddingValues structure.
[in] | pad_stride_info | Compute Library padding and strides info. |
Definition at line 62 of file AssemblyUtils.cpp.
References PadStrideInfo::pad_bottom(), PadStrideInfo::pad_left(), PadStrideInfo::pad_right(), and PadStrideInfo::pad_top().
arm_gemm::Activation map_to_arm_gemm_activation | ( | const ActivationLayerInfo & | act | ) |
Performs a mapping between Compute Library ActivationLayerInfo and the assembly Activation structure.
[in] | act | Compute Library activation info. |
Definition at line 30 of file AssemblyUtils.cpp.
References ActivationLayerInfo::a(), ActivationLayerInfo::activation(), ActivationLayerInfo::b(), ActivationLayerInfo::BOUNDED_RELU, Activation::BoundedReLU, ActivationLayerInfo::LU_BOUNDED_RELU, Activation::None, Activation::param1, Activation::param2, Activation::ReLU, ActivationLayerInfo::RELU, and Activation::type.
Referenced by CpuGemmAssemblyDispatch::configure(), CpuDepthwiseConv2dAssemblyDispatch::is_activation_supported(), and CpuGemmAssemblyDispatch::is_activation_supported().