diff --git a/cnn_calc.c b/cnn_calc.c index bea0d9c..87a2a17 100644 --- a/cnn_calc.c +++ b/cnn_calc.c @@ -3,7 +3,7 @@ #include #endif -inline int get_hiddenNext_5x5(game_hdl_t *hdl, cnn_t hiddenNext[21][21][FILTER_SIZE], cnn_t hiddenPrev[23][23][CHANNEL_SIZE], +static inline int get_hiddenNext_5x5(game_hdl_t *hdl, cnn_t hiddenNext[21][21][FILTER_SIZE], cnn_t hiddenPrev[23][23][CHANNEL_SIZE], const int x, const int y, const int inputNums, const int outputNums) { int input, output; @@ -166,7 +166,7 @@ } -inline int get_hiddenNext_3x3(game_hdl_t *hdl, cnn_t hiddenNext[21][21][FILTER_SIZE], cnn_t hiddenPrev[21][21][FILTER_SIZE], +static inline int get_hiddenNext_3x3(game_hdl_t *hdl, cnn_t hiddenNext[21][21][FILTER_SIZE], cnn_t hiddenPrev[21][21][FILTER_SIZE], const int x, const int y, const int inputNums, const int outputNums, const int layer) { int input, output;