how 2 tell if ur input is out of distribution given only model weights

(Hastily-written code to reproduce these findings is available here. It also contains some extraneous logic.)