espnet2.enh.layers.beamformer.get_covariances
Less than 1 minute
espnet2.enh.layers.beamformer.get_covariances
espnet2.enh.layers.beamformer.get_covariances(Y: Tensor | ComplexTensor, inverse_power: Tensor, bdelay: int, btaps: int, get_vector: bool = False) → Tensor | ComplexTensor
Calculates the power normalized spatio-temporal covariance : matrix of the framed signal.
- Parameters:
- Y – Complex STFT signal with shape (B, F, C, T)
- inverse_power – Weighting factor with shape (B, F, T)
- Returns: (B, F, (btaps+1) * C, (btaps+1) * C) Correlation vector: (B, F, btaps + 1, C, C)
- Return type: Correlation matrix