Skip to content

Commit c9144bb

Browse files
committed
Reduced a count of epoch on test
Changes to be committed: modified: src/ann/Slp.def.cc modified: test/ann/MlpTrainXOR-Made-Primal.c
1 parent 0d9a717 commit c9144bb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/ann/Slp.def.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ ae2f_MAC() _ae2f_AnnSlpFollow_C(
648648
}
649649

650650
ae2f_MAC() _ae2f_AnnSlpFetchDelta_imp(
651-
ae2f_AnnSlpFetchDelta_t v_delta
651+
ae2f_AnnSlpFetchDelta_t v_delta
652652
, const ae2f_AnnSlp_t slp
653653

654654
, const ae2f_float_t* const out

test/ann/MlpTrainXOR-Made-Primal.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ int main() {
109109
}
110110

111111
puts("Training...");
112-
for(j = 0; j < 999000; ++j) {
112+
for(j = 0; j < 99000; ++j) {
113113
for(i = 0; i < 4; ++i) {
114114
#if 0
115115
__ae2f_AnnMlpPredictStream_imp(
@@ -137,7 +137,7 @@ int main() {
137137
, inp[i], output, &goal_xor[i]
138138
, mlp_szv, mlp_outstream
139139
, mlp_deltastream, mlp_weights, mlp_bias
140-
, 0.1, 0.07
140+
, 0.2, 0.3
141141
, mlp_acts, mlp_actderivs, LossDeriv
142142
);
143143
#endif

0 commit comments

Comments
 (0)