Layer_enums.h 958 B

12345678910111213141516171819202122232425
  1. /* Layer_enums.h
  2. *
  3. * Copyright (C) 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. enums_begin (kLayer_activationType, 0)
  19. enums_add (kLayer_activationType, 0, DETERMINISTIC, U"deterministic")
  20. enums_add (kLayer_activationType, 1, STOCHASTIC, U"stochastic")
  21. enums_end (kLayer_activationType, 1, DETERMINISTIC)
  22. /* End of file Layer_enums.h */