Correct, but note that if you subject a standard hash table algo to AD it won't magically become a transformer. (Hashes in the "normal construction" are discrete functions and thus aren't really continuous or differentiable, neither are lookup tables)
https://en.wikipedia.org/wiki/Differentiable_programming
See automatic differentiation.