I find that stft note:" librosa’s center and pad_mode arguments are currently only implemented in python because it uses torch.nn.functional.pad which is python-only."
but, C++ API has torch.nn.functional.pad also