mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 20:24:19 +00:00
Merge "Add explanations for FusedActivationFunc values"
This commit is contained in:
@@ -22,8 +22,20 @@ package android.hardware.neuralnetworks;
|
||||
@VintfStability
|
||||
@Backing(type="int")
|
||||
enum FusedActivationFunc {
|
||||
/**
|
||||
* No activation.
|
||||
*/
|
||||
NONE,
|
||||
/**
|
||||
* ReLU(x) = max(0, x)
|
||||
*/
|
||||
RELU,
|
||||
/**
|
||||
* ReLU1(x) = min(1, max(-1, x))
|
||||
*/
|
||||
RELU1,
|
||||
/**
|
||||
* ReLU6(x) = min(6, max(0, x))
|
||||
*/
|
||||
RELU6,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user