refactor: remove layer type

This commit is contained in:
2026-09-20 15:35:14 +02:00
parent c0f36f5517
commit 8c9503329a
-6
View File
@@ -11,10 +11,6 @@
#include <type_traits>
#include <utility>
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 <class NN, std::size_t I>
struct inner final {
static constexpr layer_type TYPE = layer_type::Dense;
using input_type = input_type_s<NN, I>::type;
static_assert(input_type::TAG == layer_input::DENSE_TAG);