Trying some stuff w/ dropout

This commit is contained in:
Joseph Redmon
2014-08-27 19:11:46 -07:00
parent 176d65b765
commit 76ee68f96d
18 changed files with 550 additions and 200 deletions

View File

@ -14,7 +14,9 @@ float gradient(float x, ACTIVATION a);
void gradient_array(const float *x, const int n, const ACTIVATION a, float *delta);
void activate_array(float *x, const int n, const ACTIVATION a);
#ifdef GPU
cl_kernel get_activation_kernel();
void activate_array_ongpu(cl_mem x, int n, ACTIVATION a);
void gradient_array_ongpu(cl_mem x, int n, ACTIVATION a, cl_mem delta);
#endif
#endif