db073909d05ae6f91b7abd8d6251bfa247349447,qucumber/utils/cplx.py,,outer_prod,#Any#Any#,161
Before Change
z = torch.zeros(2, x.size()[1], y.size()[1], dtype=x.dtype, device=x.device)
z[0] = torch.ger(x[0], y[0]) - torch.ger(x[1], -y[1])
z[1] = torch.ger(x[0], -y[1]) + torch.ger(x[1], y[0])
return z
After Change
raise ValueError("An input is not of the right dimension.")
z = torch.zeros(2, x.size()[1], y.size()[1], dtype=x.dtype, device=x.device)
z[0] = torch.ger(real(x), real(y)) - torch.ger(imag(x), -imag(y))
z[1] = torch.ger(real(x), -imag(y)) + torch.ger(imag(x), real(y))
return z
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances Project Name: PIQuIL/QuCumber
Commit Name: db073909d05ae6f91b7abd8d6251bfa247349447
Time: 2019-12-31
Author: emerali@users.noreply.github.com
File Name: qucumber/utils/cplx.py
Class Name:
Method Name: outer_prod
Project Name: BindsNET/bindsnet
Commit Name: e93d6cbd649312b7748cbd0c4b4366576f21450f
Time: 2018-09-24
Author: djsaunde@umass.edu
File Name: bindsnet/learning/__init__.py
Class Name: PostPre
Method Name: _connection_update
Project Name: BindsNET/bindsnet
Commit Name: e93d6cbd649312b7748cbd0c4b4366576f21450f
Time: 2018-09-24
Author: djsaunde@umass.edu
File Name: bindsnet/learning/__init__.py
Class Name: Hebbian
Method Name: _connection_update