Skip to content

Commit

Permalink
fix leaky_relu default alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
Dobiasd committed Apr 10, 2024
1 parent 18ba1b0 commit c659309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fdeep/import_model.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ namespace internal {
const get_param_f&, const nlohmann::json& data,
const std::string& name)
{
float_type alpha = 1.0f;
float_type alpha = 0.3f;
if (json_obj_has_member(data, "config") && json_obj_has_member(data["config"], "alpha")) {
alpha = data["config"]["alpha"];
}
Expand Down

0 comments on commit c659309

Please sign in to comment.