b37fdf43bd950c4872d8ea39975d98a1b5d75866,kymatio/scattering2d/backend/backend_torch.py,,cdgmm,#,161
Before Change
if B.ndimension() != 3:
raise RuntimeError("The filters must be simply a complex array!")
if type(A) is not ty pe(B) :
raise RuntimeError("A and B should be same type!")
After Change
if inplace:
return A.mul_(B)
else:
return A * B
else:
C = A.new(A.size())
A_r = A[..., 0].contiguous().view(-1, A.size(-2)*A.size(-3))
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances Project Name: kymatio/kymatio
Commit Name: b37fdf43bd950c4872d8ea39975d98a1b5d75866
Time: 2019-03-02
Author: github@jan-schlueter.de
File Name: kymatio/scattering2d/backend/backend_torch.py
Class Name:
Method Name: cdgmm
Project Name: kymatio/kymatio
Commit Name: b37fdf43bd950c4872d8ea39975d98a1b5d75866
Time: 2019-03-02
Author: github@jan-schlueter.de
File Name: kymatio/scattering2d/backend/backend_skcuda.py
Class Name:
Method Name: cdgmm
Project Name: havakv/pycox
Commit Name: 0430f0811e0a5cd377b9c377e915bbbbb1572ce7
Time: 2019-10-02
Author: haavard.kvamme@gmail..com
File Name: pycox/models/deephit.py
Class Name: DeepHit
Method Name: predict_cif
Project Name: havakv/pycox
Commit Name: 0430f0811e0a5cd377b9c377e915bbbbb1572ce7
Time: 2019-10-02
Author: haavard.kvamme@gmail..com
File Name: pycox/models/deephit.py
Class Name: DeepHit
Method Name: predict_pmf