From 41a841f3e0992a578cf5c8f82ae44a552a6f8b2f Mon Sep 17 00:00:00 2001 From: txh18 Date: Wed, 2 Dec 2015 15:23:54 +0800 Subject: changed thres_mask function of matrix to a more standard api --- nerv/lib/matrix/cukernel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nerv/lib/matrix/cukernel.h') diff --git a/nerv/lib/matrix/cukernel.h b/nerv/lib/matrix/cukernel.h index 47dc0a8..fe682d3 100644 --- a/nerv/lib/matrix/cukernel.h +++ b/nerv/lib/matrix/cukernel.h @@ -4,7 +4,7 @@ void cudak_(cuda_log_elem)(const Matrix *a, Matrix *b); void cudak_(cuda_sigmoid)(const Matrix *a, Matrix *b); void cudak_(cuda_sigmoid_grad)(const Matrix *output, const Matrix *err, Matrix *nerr); void cudak_(cuda_rand_uniform)(const Matrix *a); //a's curand_gen may be modified -void cudak_(cuda_thres_mask)(const Matrix *a, double thres, double low, double high); +void cudak_(cuda_thres_mask)(const Matrix *a, const Matrix *b, double thres, double low, double high); void cudak_(cuda_tanh)(const Matrix *a, Matrix *b); void cudak_(cuda_tanh_grad)(const Matrix *output, const Matrix *err, Matrix *nerr); void cudak_(cuda_rowsum)(const Matrix *a, Matrix *b); -- cgit v1.2.3