a0055917b6f6a35cd114c49bf0c75b07d7c9bb10,pyroomacoustics/realtime/dft.py,DFT,synthesis,#DFT#,151

Before Change


            if self.D!=1:
                if X.shape!=(self.nbin,self.D):
                    raise ValueError("Invalid input dimensions.")
            elif self.D==1:
                if X.ndim!=1 and X.shape[0]!=self.nbin:
                    raise ValueError("Invalid input dimensions.")
            self.X[:,] = X
        // inverse DFT
        if self.transform == "fftw":
            self.b[:] = self.X

After Change


            if X.shape != self.X.shape:
                raise ValueError("Invalid input dimensions! Got (%d, %d), expecting (%d, %d)." 
                    % (X.shape[0], X.shape[1],
                    self.X.shape[0], self.X.shape[1]))

            self.X[:,] = X
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 7

Instances


Project Name: LCAV/pyroomacoustics
Commit Name: a0055917b6f6a35cd114c49bf0c75b07d7c9bb10
Time: 2018-05-26
Author: eric.bezzam@epfl.ch
File Name: pyroomacoustics/realtime/dft.py
Class Name: DFT
Method Name: synthesis


Project Name: LCAV/pyroomacoustics
Commit Name: a0055917b6f6a35cd114c49bf0c75b07d7c9bb10
Time: 2018-05-26
Author: eric.bezzam@epfl.ch
File Name: pyroomacoustics/realtime/dft.py
Class Name: DFT
Method Name: analysis


Project Name: senarvi/theanolm
Commit Name: 0a7a78a119bfafb28c7e9d484ab8543f014eead2
Time: 2015-09-15
Author: seppo.git@marjaniemi.com
File Name: theanolm/src/lstmlayer.py
Class Name: LSTMLayer
Method Name: create_onestep_structure


Project Name: senarvi/theanolm
Commit Name: 0a7a78a119bfafb28c7e9d484ab8543f014eead2
Time: 2015-09-15
Author: seppo.git@marjaniemi.com
File Name: theanolm/src/grulayer.py
Class Name: GRULayer
Method Name: create_onestep_structure