stacked_autoencoder.py
def encode(self, x):
        """Encode from input space x to latent space."""
        for conv2d in self._encoder_layers:
            x = conv2d(x)
            x = self._activation(x)
        return x
Encode from input space x to latent space.
Encode from input space x to latent space.
Encode from input space x to latent space .
def encode(self, x):
        for conv2d in self._encoder_layers:
            x = conv2d(x)
            x = self._activation(x)
        return x
def encode ( self , x ) : for conv2d in self . _encoder_layers : x = conv2d ( x ) x = self . _activation ( x ) return x
Encode from input space x to latent space.
Encode from input space x to latent space .
"""Encode from input space x to latent space."""
self
x