From 23cb35e6c8eae8b59fab161036ae3f417a55c8db Mon Sep 17 00:00:00 2001 From: AlexeyAB <alexeyab84@gmail.com> Date: Fri, 30 Mar 2018 11:46:51 +0000 Subject: [PATCH] Changed small_object --- src/blas.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/blas.h b/src/blas.h index a5b82ec..c40422a 100644 --- a/src/blas.h +++ b/src/blas.h @@ -36,6 +36,7 @@ void weighted_sum_cpu(float *a, float *b, float *s, int num, float *c); void softmax(float *input, int n, float temp, float *output, int stride); +void upsample_cpu(float *in, int w, int h, int c, int batch, int stride, int forward, float scale, float *out); #ifdef GPU #include "cuda.h" @@ -80,8 +81,11 @@ 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 adam_update_gpu(float *w, float *d, float *m, float *v, float B1, float B2, float eps, float decay, float rate, int n, int batch, int t); void flatten_ongpu(float *x, int spatial, int layers, int batch, int forward, float *out); +void upsample_gpu(float *in, int w, int h, int c, int batch, int stride, int forward, float scale, float *out); + #endif #endif -- Gitblit v1.10.0