From 84d6533cb8112f23a34d3de76435a10f4620f4b8 Mon Sep 17 00:00:00 2001 From: AlexeyAB <alexeyab84@gmail.com> Date: Mon, 23 Oct 2017 13:43:03 +0000 Subject: [PATCH] Fixed OpenCV usage in the yolo_console_dll.cpp --- src/blas.h | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/blas.h b/src/blas.h index 51554a8..3d6ee7d 100644 --- a/src/blas.h +++ b/src/blas.h @@ -1,9 +1,10 @@ #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); +void reorg_cpu(float *x, int w, int h, int c, int batch, int stride, int forward, float *out); void test_blas(); @@ -80,5 +81,7 @@ 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