espnet2.enh.layers.beamformer_th.get_covariances
Less than 1 minute
espnet2.enh.layers.beamformer_th.get_covariances
espnet2.enh.layers.beamformer_th.get_covariances(Y: Tensor, inverse_power: Tensor, bdelay: int, btaps: int, get_vector: bool = False) β Tensor
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
