2cfa9aa576ae7544f76e66854edd304690a5822b,paderbox/speech_enhancement/beamformer_wrapper.py,,get_multi_source_bf_vector_from_masks,#Any#Any#Any#Any#Any#Any#Any#,334

Before Change


                f"np.max(np.abs(beamforming_vector)) = {value}"
            )
    else:
        beamforming_vector = np.stack(list(
            pb.speech_enhancement.get_single_source_bf_vector(
                method,
                target_psd_matrix=target_psd[:, k, :, :],
                noise_psd_matrix=interference_psd[:, k, :, :],
            ) for k in range(K)
        ), axis=1)

    return beamforming_vector

After Change


            if denominator_matrix_for_bf is None:
                denominator_matrix = None
            elif denominator_matrix_for_bf == "noise":
                denominator_matrix = target_psd[:, -1, :, :]
            elif denominator_matrix_for_bf == "interference":
                denominator_matrix = interference_psd[:, k, :, :]

            beamforming_vector.append(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: fgnt/pb_bss
Commit Name: 2cfa9aa576ae7544f76e66854edd304690a5822b
Time: 2019-08-08
Author: mail@lukas-drude.de
File Name: paderbox/speech_enhancement/beamformer_wrapper.py
Class Name:
Method Name: get_multi_source_bf_vector_from_masks


Project Name: tensorflow/models
Commit Name: f7b4c6de2037ebedf6bc8ea5979e81666d54534f
Time: 2020-12-01
Author: rathodv@google.com
File Name: research/object_detection/meta_architectures/center_net_meta_arch.py
Class Name:
Method Name: convert_strided_predictions_to_normalized_boxes


Project Name: chuyangliu/snake
Commit Name: be3f3039c92721bb54de1a7eda210a87f19da67d
Time: 2018-01-05
Author: chuyang.s.liu@gmail.com
File Name: snake/solver/dqn.py
Class Name: DQNSolver
Method Name: __build_net