PyTorch implementations of Kanerva’s Sparse Distributed Memory and continuous Gaussian-kernel associative memory, with experiments on noisy retrieval and memory capacity.