arxiv A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attacks