deepQlearning: add libdeepqlearn.so, debug some issue with -Werror -fpic

This commit is contained in:
2025-10-21 08:34:25 +02:00
parent bc7d98094f
commit 244ac9cd1d
6 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -768,11 +768,11 @@ neurons_##type * calculate_output_by_network_neurons_##type(neurons_##type *base
if(tmp->next_layer==NULL){\
/*print_tensor_msg_##type(tmp->output,"retult");*/\
*output_link = tmp->output;\
\
return tmp;\
}\
tmp = tmp->next_layer;\
}\
return NULL;\
\
}\
void print_predict_by_network_neurons_##type(neurons_##type *base, tensor_##type *input){\
+1 -1
View File
@@ -7,7 +7,7 @@
#include "neuron_t/neuron_t.h"
#include "tensor_t/tensor_t.h"
//#define GEN_TYPE_FILE_NN(type)\
//#define GEN_TYPE_FILE_NN(type)
//void export_to_file_weight_in_nneurons_##type(char *fileName, neurons_##type *src);
#define EXPORT_TO_FILE_TENSOR_ATTRIBUTE_IN_NNEURONS(type,nneurons ,attribute, file_name) \