Minor fix

This commit is contained in:
AlexeyAB 2020-03-14 13:43:33 +03:00
parent 002177de00
commit 46ccac39e8
1 changed files with 3 additions and 2 deletions

View File

@ -1563,9 +1563,10 @@ void save_shortcut_weights(layer l, FILE *fp)
printf("\n pull_shortcut_layer \n");
}
#endif
for (int i = 0; i < l.nweights; ++i) printf(" %f, ", l.weight_updates[i]);
int i;
for (i = 0; i < l.nweights; ++i) printf(" %f, ", l.weight_updates[i]);
printf(" l.nweights = %d - update \n", l.nweights);
for (int i = 0; i < l.nweights; ++i) printf(" %f, ", l.weights[i]);
for (i = 0; i < l.nweights; ++i) printf(" %f, ", l.weights[i]);
printf(" l.nweights = %d \n\n", l.nweights);
int num = l.nweights;