From c6593096d9d7e761047a6caba4a501aa386388d3 Mon Sep 17 00:00:00 2001 From: Dobiasd Date: Wed, 10 Apr 2024 09:17:08 +0200 Subject: [PATCH] fix leaky_relu default alpha --- include/fdeep/import_model.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fdeep/import_model.hpp b/include/fdeep/import_model.hpp index f0c4e8b3..50d91a19 100644 --- a/include/fdeep/import_model.hpp +++ b/include/fdeep/import_model.hpp @@ -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"]; }