Commit 38d37d2b authored by Maksim Shabunin's avatar Maksim Shabunin

Fixed uninitialized memory usage in ANN_MLP

parent d004ee58
......@@ -103,6 +103,7 @@ public:
ANN_MLPImpl( const Params& p )
{
clear();
setParams(p);
}
......@@ -126,6 +127,7 @@ public:
rng = RNG((uint64)-1);
weights.clear();
trained = false;
max_buf_sz = 1 << 12;
}
int layer_count() const { return (int)layer_sizes.size(); }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment