neural network resiliency