How to get a non-trainable random variable?

Hi @wmylxmj!
I’m trying to implement something similar. Could you share some part of your code that solved the problem?