first try qdeep learning
This commit is contained in:
1 parent
e96304bee7
commit
582d7a6a70
7 files changed
+401
-70
No files matched your search
@@ -125,4 +125,13 @@ GEN_NEURON_(TYPE_FLOAT)
|
||||
GEN_NEURON_(TYPE_DOUBLE)
|
||||
|
||||
|
||||
#define UPDATE_ATTRIBUTE_NEURONE_IN_ALL_LAYERS(type, neuronVar, attribute, value) \
|
||||
do{\
|
||||
neurons_##type *tmpn = neuronVar;\
|
||||
while(tmpn){\
|
||||
tmpn->attribute = value;\
|
||||
tmpn = tmpn->next_layer;\
|
||||
}\
|
||||
}while(0);\
|
||||
|
||||
#endif /*__NEURON_T_C__H*/
|
||||
Reference in new issue
Block a user