Compute Library
 21.11
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 82 of file arm_gemm.hpp.

Member Enumeration Documentation

◆ Type

enum Type
strong
Enumerator
None 
ReLU 
BoundedReLU 

Definition at line 84 of file arm_gemm.hpp.

85  {
86  None,
87  ReLU,
88  BoundedReLU
89  };

Constructor & Destructor Documentation

◆ Activation()

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

Definition at line 95 of file arm_gemm.hpp.

96  : type(type), param1(p1), param2(p2)
97  {
98  }

Field Documentation

◆ param1

◆ param2

float param2

◆ type


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