24.02.1
|
Go to the documentation of this file.
30 namespace assembly_utils
44 case ActivationLayerInfo::ActivationFunction::RELU:
47 case ActivationLayerInfo::ActivationFunction::BOUNDED_RELU:
52 case ActivationLayerInfo::ActivationFunction::LU_BOUNDED_RELU:
74 switch (weight_format)
187 return gemm_weight_fromat;
194 switch (weight_format)
307 return acl_weight_fromat;
arm_gemm::WeightFormat map_to_arm_gemm_weight_format(const arm_compute::WeightFormat &weight_format)
Performs a mapping from Compute Library WeightFormat to the assembly WeightFormat enum.
unsigned int pad_right() const
Get the right padding.
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.
arm_gemm::Activation map_to_arm_gemm_activation(const ActivationLayerInfo &act)
Performs a mapping between Compute Library ActivationLayerInfo and the assembly Activation structure.
ActivationFunction activation() const
Get the type of activation function.
Activation Layer Information class.
WeightFormat
Memory layouts for the weights tensor.
unsigned int pad_left() const
Get the left padding.
float a() const
Get the alpha value.
unsigned int pad_bottom() const
Get the bottom padding.
Copyright (c) 2017-2024 Arm Limited.
float b() const
Get the beta value.
unsigned int pad_top() const
Get the top padding.
arm_compute::WeightFormat map_to_arm_compute_weight_format(const arm_gemm::WeightFormat &weight_format)
Performs a mapping from Assembly WeightFormat to the Compute Library WeightFormat enum.