changed tolerance member var in NeuralNetworkOptimizer