class_docstr: Adapted from pytorch/examples.
  Source: https://github.com/pytorch/examples/tree/master/vae
class_docstr_tok: ["Adapted","from","pytorch\/examples",".","Source",":","https",":","\/\/github.com\/pytorch\/examples\/tree\/master\/vae"]
code: def __init__(self, *args, **kwargs):
      super().__init__(*args, **kwargs)
      self.optimizer = self.initialize_optimizer(lr=1e-3)
  
imports: import argparse
  import itertools
  import os
  from abc import ABCMeta, abstractmethod
  import torch
  import torch.nn
  from torch.nn import functional
  from torchvision.utils import save_image
  from utils.mnist_cached import DATA_DIR, RESULTS_DIR
  import pyro
  from pyro.contrib.examples import util
  from pyro.distributions import Bernoulli, Normal
  from pyro.infer import SVI, JitTrace_ELBO, Trace_ELBO
  from pyro.optim import Adam
label_desc: Use image node_id 1 to create a new PyTorchVAEImpl object from inherited base classes: VAE with example: obj = PyTorchVAEImpl()