Implementations of differentiable stacks, queues, and deques from "Learning to Transduce with Unbounded Memory"