| src/network.h | ●●●●● patch | view | raw | blame | history | |
| src/parser.c | ●●●●● patch | view | raw | blame | history |
src/network.h
@@ -2,6 +2,7 @@ #ifndef NETWORK_H #define NETWORK_H #include <stdint.h> #include "layer.h" #ifdef __cplusplus @@ -20,7 +21,7 @@ float *workspace; int n; int batch; int *seen; uint64_t *seen; float epoch; int subdivisions; float momentum; src/parser.c
@@ -836,7 +836,7 @@ fwrite(&major, sizeof(int), 1, fp); fwrite(&minor, sizeof(int), 1, fp); fwrite(&revision, sizeof(int), 1, fp); fwrite(net.seen, sizeof(int), 1, fp); fwrite(net.seen, sizeof(uint64_t), 1, fp); int i; for(i = 0; i < net.n && i < cutoff; ++i){