Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8bcb16e8 authored by Lev Proleev's avatar Lev Proleev Committed by Automerger Merge Worker
Browse files

Merge "Add explanations for FusedActivationFunc values" am: e6273df6 am:...

Merge "Add explanations for FusedActivationFunc values" am: e6273df6 am: 0bee214c am: 65b04253

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1673486

Change-Id: Icd8bf9bd4e23e77a6c1acf51bf690e7f44443ead
parents 37e8b98f 65b04253
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -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,
}