stacked_autoencoder.py
def decode(self, x):
        """Decode from latent space x to input space."""
        x = self._decoder_layers[0](x)
        for conv2d in self._decoder_layers[1:]:
            x = self._activation(x)
            x = conv2d(x)
        if self._activate_dec:
            x = self._activation(x)
        return x
Decode from latent space x to input space.
Decode from latent space x to input space.
Decode from latent space x to input space .
def decode(self, x):
        x = self._decoder_layers[0](x)
        for conv2d in self._decoder_layers[1:]:
            x = self._activation(x)
            x = conv2d(x)
        if self._activate_dec:
            x = self._activation(x)
        return x
def decode ( self , x ) : x = self . _decoder_layers [ 0 ] ( x ) for conv2d in self . _decoder_layers [ 1 : ] : x = self . _activation ( x ) x = conv2d ( x ) if self . _activate_dec : x = self . _activation ( x ) return x
Decode from latent space x to input space.
Decode from latent space x to input space .
"""Decode from latent space x to input space."""
self
x