The author has a link to the actual code behind the blog post. https://github.com/KeAWang/associative-memory-blog/blob/main...