remove some unnecessary exports

pull/2394/head
Stefano Sinigardi 6 years ago
parent 00de023601
commit 839f7c0f04
  1. 2
      src/gemm.c
  2. 2
      src/gemm.h
  3. 4
      src/gettimeofday.c
  4. 4
      src/gettimeofday.h
  5. 6
      src/image.h
  6. 2
      src/lstm_layer.h

@ -477,8 +477,6 @@ void transpose_bin(char *A, char *B, const int n, const int m,
}
*/
#else
extern void transpose_32x32_bits_reversed_diagonale(uint32_t* A, uint32_t* B, int m, int n);
#endif
// transpose by 32-bit

@ -59,7 +59,7 @@ void im2col_cpu_custom_transpose(float* data_im,
void activate_array_cpu_custom(float *x, const int n, const ACTIVATION a);
LIB_API void transpose_32x32_bits_reversed_diagonale(uint32_t *A, uint32_t *B, int m, int n);
void transpose_32x32_bits_reversed_diagonale(uint32_t *A, uint32_t *B, int m, int n);
void gemm_bin(int M, int N, int K, float ALPHA,
char *A, int lda,

@ -1,7 +1,7 @@
#ifdef _WIN32
#include "gettimeofday.h"
LIB_API int gettimeofday(struct timeval* tp, struct timezone* tzp)
int gettimeofday(struct timeval* tp, struct timezone* tzp)
{
static const uint64_t EPOCH = ((uint64_t)116444736000000000ULL);
SYSTEMTIME system_time;
@ -19,7 +19,7 @@ LIB_API int gettimeofday(struct timeval* tp, struct timezone* tzp)
return 0;
}
LIB_API int clock_gettime(int dummy, struct timespec* ct)
int clock_gettime(int dummy, struct timespec* ct)
{
LARGE_INTEGER count;

@ -28,8 +28,8 @@ extern "C" {
static unsigned char g_first_time = 1;
static LARGE_INTEGER g_counts_per_sec;
LIB_API int gettimeofday(struct timeval*, struct timezone*);
LIB_API int clock_gettime(int, struct timespec*);
int gettimeofday(struct timeval*, struct timezone*);
int clock_gettime(int, struct timespec*);
#ifdef __cplusplus
}

@ -93,9 +93,9 @@ image load_image(char *filename, int w, int h, int c);
image **load_alphabet();
#ifdef OPENCV
LIB_API image get_image_from_stream(CvCapture* cap);
LIB_API image get_image_from_stream_cpp(CvCapture* cap);
LIB_API image ipl_to_image(IplImage* src);
image get_image_from_stream(CvCapture* cap);
image get_image_from_stream_cpp(CvCapture* cap);
image ipl_to_image(IplImage* src);
#endif
//float get_pixel(image m, int x, int y, int c);
//float get_pixel_extend(image m, int x, int y, int c);

@ -9,7 +9,7 @@
#ifdef __cplusplus
extern "C" {
#endif
LIB_API layer make_lstm_layer(int batch, int inputs, int outputs, int steps, int batch_normalize);
layer make_lstm_layer(int batch, int inputs, int outputs, int steps, int batch_normalize);
void forward_lstm_layer(layer l, network_state state);
void update_lstm_layer(layer l, int batch, float learning_rate, float momentum, float decay);

Loading…
Cancel
Save