mirror of
https://github.com/glouw/tinn
synced 2024-11-21 14:01:52 +03:00
Merge pull request #26 from timgates42/bugfix_typo_bias
docs: fix simple typo, biaes -> bias
This commit is contained in:
commit
815225a8f1
2
Tinn.c
2
Tinn.c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user