Inverse pretrained model

I’m trying to implement a (variational) convolutional autoencoder. For the decoder I want to inverse a pretrained conv encoder (a deconv decoder with inversed layers and weights).
Any idea how this can be achieved? Can I somehow transpose the weights from a loaded layer to a deconv one?


conv net is not generally one-to-one.