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
+1 -2
View File
@@ -5,8 +5,7 @@
namespace tkDNN {
Softmax::Softmax(Network *net, dataDim_t input_dim) :
Layer(net, input_dim) {
Softmax::Softmax(Network *net) : Layer(net) {
checkCuda( cudaMalloc(&dstData, input_dim.tot()*sizeof(value_type)) );