mirror of
https://github.com/lordmathis/CUDANet.git
synced 2025-11-06 01:34:22 +00:00
Fix missing activation in batch norm
This commit is contained in:
@@ -190,5 +190,7 @@ float *BatchNorm2d::forward(const float *d_input) {
|
|||||||
CUDA_CHECK(cudaGetLastError());
|
CUDA_CHECK(cudaGetLastError());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
activation->activate(d_output);
|
||||||
|
|
||||||
return d_output;
|
return d_output;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user