Skip to content

Commit

Permalink
Updated some parameters from double to float
Browse files Browse the repository at this point in the history
  • Loading branch information
amirbawab committed Jun 14, 2019
1 parent d97ba78 commit 6a58f17
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/nn-builder/src/builtins/activation.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ struct ActivationFunction {
wabt::Var derivative;
};
struct ActivationOptions {
double linear_slope = 1;
double leaky_relu_slope = 0.01;
double elu_slope = 0.01;
float linear_slope = 1;
float leaky_relu_slope = 0.01;
float elu_slope = 0.01;
};
class Activation : public Builtin {
private:
Expand Down

0 comments on commit 6a58f17

Please sign in to comment.