Merge pull request #26 from timgates42/bugfix_typo_bias

docs: fix simple typo, biaes -> bias
This commit is contained in:
Gustav Louw 2020-11-27 10:20:15 -08:00 committed by GitHub
commit 815225a8f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
Tinn.c
View File

@ -150,7 +150,7 @@ Tinn xtload(const char* const path)
fscanf(file, "%d %d %d\n", &nips, &nhid, &nops);
// Build a new tinn.
const Tinn t = xtbuild(nips, nhid, nops);
// Load biaes and weights.
// Load bias and weights.
for(int i = 0; i < t.nb; i++) fscanf(file, "%f\n", &t.b[i]);
for(int i = 0; i < t.nw; i++) fscanf(file, "%f\n", &t.w[i]);
fclose(file);