I have defined a VAE like so:
def cond_encoder(nfeatures,ncondfeatures,layers, latent_dim, activation=\'relu\'): finputs = Input(shape=(nfeatures,)) ci