A DiAMetR for handling out-of-support task distribution shifts