Compute Library
UnaryEltwiseLayerDescriptor Struct Reference

Unary Elementwise layer descriptor. More...

#include <LayerDescriptors.h>

Collaboration diagram for UnaryEltwiseLayerDescriptor:

Public Member Functions

 UnaryEltwiseLayerDescriptor (UnaryEltwiseOperation op, QuantizationInfo out_quant_info=QuantizationInfo(), ConvertPolicy c_policy=ConvertPolicy::SATURATE, RoundingPolicy r_policy=RoundingPolicy::TO_ZERO, ActivationLayerInfo fused_activation=ActivationLayerInfo())
 Constructor. More...

Data Fields

UnaryEltwiseOperation op
 Unary element-wise operation to perform. More...
QuantizationInfo out_quant_info
 Output quantization information. More...
ConvertPolicy c_policy
 Convert policy. More...
RoundingPolicy r_policy
 Rounding policy. More...
ActivationLayerInfo fused_activation
 Fused activation info. More...

Detailed Description

Unary Elementwise layer descriptor.

Definition at line 93 of file LayerDescriptors.h.

Constructor & Destructor Documentation

◆ UnaryEltwiseLayerDescriptor()


[in]opUnary element-wise operation to perform
[in]out_quant_info(Optional) Output quantization information. Defaults to empty QuantizationInfo
[in]c_policy(Optional) Convert policy used for the operation. Defaults to ConvertPolicy::SATURATE
[in]r_policy(Optional) Rounding policy used for the operation. Defaults to RoundingPolicy::TO_ZERO
[in]fused_activation(Optional) Fused activation information. Defaults to empty (identity) ActivationLayerInfo

Definition at line 103 of file LayerDescriptors.h.

Field Documentation

◆ c_policy

ConvertPolicy c_policy

Convert policy.

Definition at line 112 of file LayerDescriptors.h.

◆ fused_activation

ActivationLayerInfo fused_activation

Fused activation info.

Definition at line 114 of file LayerDescriptors.h.

Referenced by UnaryEltwiseLayerNode::set_fused_activation().

◆ op

Unary element-wise operation to perform.

Definition at line 110 of file LayerDescriptors.h.

Referenced by arm_compute::graph::backends::detail::validate_unary_eltwise_layer().

◆ out_quant_info

QuantizationInfo out_quant_info

Output quantization information.

Definition at line 111 of file LayerDescriptors.h.

Referenced by UnaryEltwiseLayerNode::configure_output().

◆ r_policy

RoundingPolicy r_policy

Rounding policy.

Definition at line 113 of file LayerDescriptors.h.

The documentation for this struct was generated from the following file: