From fc9b867dd9c9a6d38d7fe478217060e11b9e7e1b Mon Sep 17 00:00:00 2001 From: Joseph Redmon <pjreddie@gmail.com> Date: Wed, 16 Nov 2016 08:15:46 +0000 Subject: [PATCH] :fire: :fire: :dragonite: --- src/blas.h | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/blas.h b/src/blas.h index 6b6b8f5..a942024 100644 --- a/src/blas.h +++ b/src/blas.h @@ -1,6 +1,6 @@ #ifndef BLAS_H #define BLAS_H -void reorg(float *x, int size, int layers, int batch, int forward); +void flatten(float *x, int size, int layers, int batch, int forward); void pm(int M, int N, float *A); float *random_matrix(int rows, int cols); void time_random_matrix(int TA, int TB, int m, int k, int n); @@ -77,7 +77,10 @@ void reorg_ongpu(float *x, int w, int h, int c, int batch, int stride, int forward, float *out); -void softmax_gpu(float *input, int n, int groups, float temp, float *output, cudaStream_t stream); +void softmax_gpu(float *input, int n, int offset, int groups, float temp, float *output); +void adam_gpu(int n, float *x, float *m, float *v, float B1, float B2, float rate, float eps, int t); + +void flatten_ongpu(float *x, int spatial, int layers, int batch, int forward, float *out); #endif #endif -- Gitblit v1.10.0