| 1 |
/* Network_enums.h |
| 2 |
* |
| 3 |
* Copyright (C) 2012,2015-2017 Paul Boersma |
| 4 |
* |
| 5 |
* This code is free software; you can redistribute it and/or modify |
| 6 |
* it under the terms of the GNU General Public License as published by |
| 7 |
* the Free Software Foundation; either version 2 of the License, or (at |
| 8 |
* your option) any later version. |
| 9 |
* |
| 10 |
* This code is distributed in the hope that it will be useful, but |
| 11 |
* WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 13 |
* See the GNU General Public License for more details. |
| 14 |
* |
| 15 |
* You should have received a copy of the GNU General Public License |
| 16 |
* along with this work. If not, see <http://www.gnu.org/licenses/>. |
| 17 |
*/ |
| 18 |
|
| 19 |
enums_begin (kNetwork_activityClippingRule, 0) |
| 20 |
enums_add (kNetwork_activityClippingRule, 0, SIGMOID, U"sigmoid") |
| 21 |
enums_add (kNetwork_activityClippingRule, 1, LINEAR, U"linear") |
| 22 |
enums_add (kNetwork_activityClippingRule, 2, TOP_SIGMOID, U"top-sigmoid") |
| 23 |
/* |
| 24 |
As this enumerated type occurs in data, you should add new activity clipping rules only at the end. |
| 25 |
*/ |
| 26 |
enums_end (kNetwork_activityClippingRule, 2, LINEAR) |
| 27 |
|
| 28 |
/* End of file Network_enums.h */ |