@@ -23,15 +23,15 @@ void k2c_softmax_func(float * x, const size_t size);
2323void k2c_softplus_func (float * x , const size_t size );
2424void k2c_softsign_func (float * x , const size_t size );
2525typedef void k2c_activationType (float * x , const size_t size );
26- k2c_activationType * k2c_linear ;
27- k2c_activationType * k2c_exponential ;
28- k2c_activationType * k2c_relu ;
29- k2c_activationType * k2c_hard_sigmoid ;
30- k2c_activationType * k2c_tanh ;
31- k2c_activationType * k2c_sigmoid ;
32- k2c_activationType * k2c_softmax ;
33- k2c_activationType * k2c_softplus ;
34- k2c_activationType * k2c_softsign ;
26+ extern k2c_activationType * k2c_linear ;
27+ extern k2c_activationType * k2c_exponential ;
28+ extern k2c_activationType * k2c_relu ;
29+ extern k2c_activationType * k2c_hard_sigmoid ;
30+ extern k2c_activationType * k2c_tanh ;
31+ extern k2c_activationType * k2c_sigmoid ;
32+ extern k2c_activationType * k2c_softmax ;
33+ extern k2c_activationType * k2c_softplus ;
34+ extern k2c_activationType * k2c_softsign ;
3535
3636// Advanced Activations
3737void k2c_LeakyReLU (float * x , const size_t size , const float alpha );
0 commit comments