reconstruct with mini batches
hidden representation with mini batches as well