From 8c9503329a742aaa0f66532b334df8ee367128a3 Mon Sep 17 00:00:00 2001 From: CHatingPython Date: Sun, 20 Sep 2026 15:35:14 +0200 Subject: [PATCH] refactor: remove layer type --- include/nn.hpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/include/nn.hpp b/include/nn.hpp index 32ad47f..d381319 100644 --- a/include/nn.hpp +++ b/include/nn.hpp @@ -11,10 +11,6 @@ #include #include -enum class layer_type { - Dense, -}; - struct layer_input { static constexpr std::uint32_t DENSE_TAG = 0x444E5345; }; @@ -70,8 +66,6 @@ class dense_layer final : public layer_info { private: template struct inner final { - static constexpr layer_type TYPE = layer_type::Dense; - using input_type = input_type_s::type; static_assert(input_type::TAG == layer_input::DENSE_TAG);