This commit is contained in:
Francesco Gatti
2018-12-21 15:28:47 +01:00
parent c13bda3863
commit 7a51b4382d
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ Reorg::Reorg(Network *net, int stride) : Layer(net) {
output_dim.w = input_dim.w/stride;
output_dim.l = input_dim.l;
checkCuda( cudaMalloc(&dstData, input_dim.tot()*sizeof(dnnType)) );
checkCuda( cudaMalloc(&dstData, output_dim.tot()*sizeof(dnnType)) );
}
Reorg::~Reorg() {