pytorch / audio

Data manipulation and transformation for audio signal processing, powered by PyTorch
https://pytorch.org/audio
BSD 2-Clause "Simplified" License
2.51k stars 648 forks source link

Can torch.linalg.eig() be replaced with torch.linalg.eigh() in _get_steering_vector_evd() in MVDR #2537

Closed CaA23187 closed 2 years ago

CaA23187 commented 2 years ago

As psd_n and psd_s are Hermitian and symmetric matrices, can torch.linalg.eig() be replaced with torch.linalg.eigh() in _get_steering_vector_evd() for faster computes the eigenvalue decomposition?

CaA23187 commented 2 years ago

Sorry, my torchaudio's version is 0.11.0, and I found it has been replaced in 0.12.0