Oh my god, thank you no wonder this doesn’t work I had a typo all along. So what is require_grad then? It doesn’t throw an error. Thank you so much SimonW you must be a very handsome person in real life.