better network model

This commit is contained in:
Francesco Gatti
2017-08-01 23:03:02 +02:00
parent 300b0af5dd
commit e8355cee67
22 changed files with 166 additions and 179 deletions
+2 -2
View File
@@ -5,8 +5,8 @@
namespace tkDNN {
Activation::Activation(Network *net, dataDim_t input_dim, int act_mode) :
Layer(net, input_dim) {
Activation::Activation(Network *net, int act_mode) :
Layer(net) {
this->act_mode = act_mode;
checkCuda( cudaMalloc(&dstData, input_dim.tot()*sizeof(value_type)) );