6c06a88957549b1405f43361e4aa911abc56ef66,se3cnn/kernel.py,SE3Kernel,combination,#SE3Kernel#Any#,296
Before Change
w = weight[weight_index: weight_index + mi * mj * b_el].view(mi * mj, b_el) // [I*J, beta]
weight_index += mi * mj * b_el
basis_kernels_ij = kij.contiguous().view(b_el, -1) // [beta, i*j*x*y*z]
ker = torch.mm(w, basis_kernels_ij) // [I*J, i*j*x*y*z]
ker = ker.view(mi, mj, *b_size) // [I, J, i, j, x, y, z]
After Change
begin_j += mj * self.dims_in[j]
begin_i += mi * self.dims_out[i]
assert weight_index == self.nweights
return kernel
def forward(self): // pylint: disable=W
return self.combination(self.weight)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: mariogeiger/se3cnn
Commit Name: 6c06a88957549b1405f43361e4aa911abc56ef66
Time: 2018-10-04
Author: geiger.mario@gmail.com
File Name: se3cnn/kernel.py
Class Name: SE3Kernel
Method Name: combination
Project Name: open-mmlab/mmdetection
Commit Name: a6236b789b8f4e2e66c8379199f40ecef9afce06
Time: 2020-04-21
Author: 40779233+ZwwWayne@users.noreply.github.com
File Name: mmdet/core/anchor/anchor_generator.py
Class Name: AnchorGenerator
Method Name: valid_flags
Project Name: osmr/imgclsmob
Commit Name: f668123151812480874a573cddd71c25a20c14a4
Time: 2019-03-05
Author: osemery@gmail.com
File Name: pytorch/pytorchcv/models/others/oth_irevnet2.py
Class Name: psi
Method Name: inverse