Model components of Sparse_CAE from "A Sparse Convolutional Autoencoder for Joint Feature Extraction and Clustering of Metastatic Prostate Cancer Images" (https://link.springer.com/chapter/10.1007/978-3-031-66535-6_2).
Requires PyTorch version 1.8.0 or later. Check the Jupyter Notebook for how to train/test the model.