This is in Tensorflow.
Would rather see a numpy version or something along those lines so that students can better understand what each step looks like in code.
I concur on the comments noting lack of explanation for the notation/lemmas/proof.
I second this. Numpy would be the way to go, so students can switch to JAX or PyTorch trivially. Or they could use a mix, starting with numpy, build the layer from scratch, then hand over the abstraction. Pyro would be really good for this too
I concur on the comments noting lack of explanation for the notation/lemmas/proof.