espnet2.enh.layers.beamformer_th.tik_reg
Less than 1 minute
espnet2.enh.layers.beamformer_th.tik_reg
espnet2.enh.layers.beamformer_th.tik_reg(mat, reg: float = 1e-08, eps: float = 1e-08)
Perform Tikhonov regularization (only modifying real part).
- Parameters:
- mat (torch.complex64) β input matrix (β¦, C, C)
- reg (float) β regularization factor
- eps (float)
- Returns: regularized matrix (β¦, C, C)
- Return type: ret (torch.complex64)
