Made the outer products in NTMMemory.write parallel batch-wise
Made the outer products in NTMMemory.write parallel batch-wise

Using the method from https://discuss.pytorch.org/t/easy-way-to-compute-outer-products/720/5, we get a batched version of the ger function

loudinthecloud/pytorch-ntm