Amortized Variational Inference for Simple Hierarchical Models