mirror of
https://github.com/lordmathis/CUDANet.git
synced 2025-11-05 17:34:21 +00:00
Migrate Dense layer
This commit is contained in:
@@ -48,6 +48,8 @@ class Activation {
|
||||
ActivationType activationType;
|
||||
int length;
|
||||
|
||||
void activateCPU(float* input);
|
||||
|
||||
#ifdef USE_CUDA
|
||||
int gridSize;
|
||||
|
||||
@@ -58,10 +60,7 @@ class Activation {
|
||||
|
||||
void initCUDA();
|
||||
void delCUDA();
|
||||
#else
|
||||
void activateCPU(float* input);
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user