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