example Accompanying code for the tutorial given here: https://neuralfit.net/examples/tandem-learning/.