#ifndef LAYER_H #define LAYER_H #include #include "utils.h" #include "Network.h" namespace tkDNN { /** Data rapresentation beetween layers n = batch size c = channels h = heigth (lines) w = width (rows) l = lenght (3rd dimension) */ struct dataDim_t { int n, c, h, w, l; dataDim_t() : n(1), c(1), h(1), w(1), l(1) {}; dataDim_t(int _n, int _c, int _h, int _w, int _l = 1) : n(_n), c(_c), h(_h), w(_w), l(_l) {}; void print() { std::cout<<"Data dim: "<