the mean value of the encoder.
if mode == tf.estimator.ModeKeys.TRAIN:
z = ezx.sample()
else:
z = ezx.mean()