private void ResetGradient( )
{
for ( int i = 0; i < weightsDerivatives.Length; i++ )
{
for ( int j = 0; j < weightsDerivatives[i].Length; j++ )
{
Array.Clear( weightsDerivatives[i][j], 0, weightsDerivatives[i][j].Length );
}
}
for ( int i = 0; i < thresholdsDerivatives.Length; i++ )
{
Array.Clear( thresholdsDerivatives[i], 0, thresholdsDerivatives[i].Length );
}
}