Refactor Backend and Layer interfaces

This commit is contained in:
2025-11-18 18:27:57 +01:00
parent 25670f90c4
commit 6340b27055
23 changed files with 154 additions and 201 deletions

View File

@@ -2,6 +2,7 @@
#include "backend/tensor.hpp"
#include "backend/backend.hpp"
#include "layers/layer.hpp"
namespace CUDANet::Layers {
@@ -19,7 +20,7 @@ enum ActivationType { SIGMOID, RELU, SOFTMAX, NONE };
* @brief Utility class that performs activation
*
*/
class Activation {
class Activation : Layer {
public:
Activation() = default;