code: def __init__(self, dim_in, dim_out, dyParameterCollection):
      assert isinstance(dyParameterCollection, dy.ParameterCollection)
  
      self.dim_in = dim_in
      self.dim_out = dim_out
      self.pW = dyParameterCollection.add_parameters((dim_out, dim_in))
      self.pb = dyParameterCollection.add_parameters((dim_out))
  
file_path: dynet/examples/variational-autoencoder/basic-image-recon/vae.py
imports: from __future__ import print_function
  from utils import load_mnist, make_grid, pre_pillow_float_img_process, save_image
  import numpy
  import argparse
  import dynet
  import os
  import time
label_desc: Use image node_id 1 to create a new DynetLinear object  with example: obj = DynetLinear(dim_in, dim_out, dyParameterCollection)