deepQlearning: add libdeepqlearn.so, debug some issue with -Werror -fpic
This commit is contained in:
@@ -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){\
|
||||
|
||||
@@ -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) \
|
||||
|
||||
Reference in New Issue
Block a user