mirror of
https://github.com/glouw/tinn
synced 2024-12-22 03:53:02 +03:00
docs: fix simple typo, biaes -> bias
There is a small typo in Tinn.c. Should read `bias` rather than `biaes`.
This commit is contained in:
parent
e366d4d1fc
commit
c030cb2eea
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