Diversify: A General Framework for Time Series Out-of-Distribution Detection and Generalization | Synapse