torch-dct

JSON →
library 0.1.6 ·python
verified Jun 7, 2026

A PyTorch implementation of the Discrete Cosine Transform (DCT) and its inverse. Currently at version 0.1.6, the library provides functions for 1D, 2D, and 3D DCT and IDCT, supporting both orthogonal and non-orthogonal scaling. The package is mature but has a slow release cadence.