b37fdf43bd950c4872d8ea39975d98a1b5d75866,kymatio/scattering2d/backend/backend_torch.py,,cdgmm,#Any#Any#Any#,161
Before Change
if B.ndimension() != 3:
raise RuntimeError("The filters must be simply a complex array!")
if type(A) is not type(B) :
raise RuntimeError("A and B should be same type!")
After Change
if A.dtype is not B.dtype:
raise RuntimeError("A and B must be of the same dtype")
if A.device != B.device:
raise RuntimeError("A and B must be on the same device")
if isreal(B):
if inplace:
return A.mul_(B)
else:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
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: inferno-pytorch/inferno
Commit Name: 325d8412d641af7e52f97e3422e9ef516e4ef726
Time: 2018-07-05
Author: nasim.rahaman@iwr.uni-heidelberg.de
File Name: inferno/trainers/basic.py
Class Name: Trainer
Method Name: wrap_batch
Project Name: stellargraph/stellargraph
Commit Name: bcf6d0a188ee9ba868c1de01c347f813e3aaa35c
Time: 2020-01-22
Author: andrew.docherty@data61.csiro.au
File Name: stellargraph/layer/graph_attention.py
Class Name: GAT
Method Name: __init__