Is there a way to introduce sparsity Fourier/Cosine/others constraint on the weights of an autoencoder to achieve compressions? I want to use the encoder part to replicate a better basis with the STL-10 dataset. Autoencoders | Kaggle 1 The features learned should be more optimized than the compression algorithms like JPEG.