refactor: remove layer type
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user