Closed srush closed 2 years ago
This makes sense to me - didn't follow the use of @partial(np.vectorize)
at first, might be worth a comment.
I'm running into some relative import errors when I try to run the code in this PR, will fix, and push... ideally hold of on merging until then!
Going through my journey of learning Flax, updated some of the code for training.
Changes:
vmap
andvectorize
to ensure that none of the code has extra dimension or indexing.I haven't updated the comments yet or literate aspects yet.