Compute Library
 22.08
Activation Struct Reference

#include <arm_gemm.hpp>

Public Types

enum  Type { None, ReLU, BoundedReLU }
 

Public Member Functions

 Activation (Type type=Type::None, float p1=0.0f, float p2=0.0f)
 

Data Fields

Type type
 
float param1
 
float param2
 

Detailed Description

Definition at line 123 of file arm_gemm.hpp.

Member Enumeration Documentation

◆ Type

enum Type
strong
Enumerator
None 
ReLU 
BoundedReLU 

Definition at line 125 of file arm_gemm.hpp.

126  {
127  None,
128  ReLU,
129  BoundedReLU
130  };

Constructor & Destructor Documentation

◆ Activation()

Activation ( Type  type = Type::None,
float  p1 = 0.0f,
float  p2 = 0.0f 
)
inline

Definition at line 136 of file arm_gemm.hpp.

137  : type(type), param1(p1), param2(p2)
138  {
139  }

Field Documentation

◆ param1

◆ param2

float param2

◆ type


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