private void ResetUpdates(double rate)
{
for (int i = 0; i < weightsUpdates.Length; i++)
{
for (int j = 0; j < weightsUpdates[i].Length; j++)
{
for (int k = 0; k < weightsUpdates[i][j].Length; k++)
{
weightsUpdates[i][j][k] = rate;
}
}
}
for (int i = 0; i < thresholdsUpdates.Length; i++)
{
for (int j = 0; j < thresholdsUpdates[i].Length; j++)
{
thresholdsUpdates[i][j] = rate;
}
}
}