Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
780 B

  1. #ifndef __NNET_H__
  2. #define __NNET_H__
  3. #include "common.h"
  4. // generic header for any neural net data
  5. typedef struct tagNNET_HEADER
  6. {
  7. DWORD dwFileType; // This should be set to type of the net data.
  8. INT iFileVer; // Version of code that wrote the data.
  9. INT iMinCodeVer; // Earliest version of code that can read this file
  10. wchar_t awchLocale[4]; // Locale
  11. DWORD adwSignature [3]; // locale signature
  12. INT cSpace; // # of spaces
  13. }
  14. NNET_HEADER;
  15. // generic space header for neural net data
  16. typedef struct tagNNET_SPACE_HEADER
  17. {
  18. INT iSpace; // space ID
  19. long iDataOffset; // offset to data from beginning of file
  20. INT cMap; // size of mapping table
  21. long iMapOffset; // offset to mapping table from beginning of file
  22. }
  23. NNET_SPACE_HEADER;
  24. #endif