Artelnics / opennn

OpenNN - Open Neural Networks Library
http://www.opennn.net
GNU Lesser General Public License v3.0
1.12k stars 354 forks source link

Missing enum in DEV branch #274

Closed shleym2000 closed 1 month ago

shleym2000 commented 10 months ago

Building dev branch gives the following error in 2 places of the same file

1>C:\OpenNN\opennn\batch_normalization_layer.cpp(26,24): error C2838: 'BatchNormalization': illegal qualified name in member declaration
1>C:\OpenNN\opennn\batch_normalization_layer.cpp(26,24): error C2065: 'BatchNormalization': undeclared identifier
1>C:\OpenNN\opennn\batch_normalization_layer.cpp(59,24): error C2838: 'BatchNormalization': illegal qualified name in member declaration
1>C:\OpenNN\opennn\batch_normalization_layer.cpp(59,24): error C2065: 'BatchNormalization': undeclared identifier

The BatchNormalization exists in the BatchNormalization branch, but removed from the list of Type enumerators in the dev.

I do not know if BatchNormalization should be restored in the list of the enum Type or code using it should be removed.

shleym2000 commented 1 month ago

Not needed anymore.