ca5ec9585e711f63acbe337bc38c37520189b9d7,se3_cnn/convolution.py,SE3KernelCombination,backward,#SE3KernelCombination#Any#,152
Before Change
b_el = self.kernels[i][j].size(0)
basis_kernels_ij = self.kernels[i][j].view(b_el, -1)
for ii in range(self.multiplicites_out[i]):
si = slice(begin_i + ii * self.dims_out[i], begin_i + (ii + 1) * self.dims_out[i])
for jj in range(self.multiplicites_in[j]):
sj = slice(begin_j + jj * self.dims_in[j], begin_j + (jj + 1) * self.dims_in[j])
After Change
grad = grad_kernel[si, sj] // [I * i, J * j, x, y, z]
grad = grad.contiguous().view(mi, self.dims_out[i], mj, self.dims_in[j], -1).transpose(1, 2) // [I, J, i, j, x*y*z]
grad = grad.contiguous().view(mi * mj, -1) // [I*J, i*j*x*y*z]
grad = torch.mm(grad, basis_kernels_ij.transpose(0, 1)) // [I*J, beta]
grad_weight[weight_index : weight_index + mi * mj * b_el] = grad.view(-1) // [I * J * beta]
weight_index += mi * mj * b_el
begin_j += self.multiplicites_in[j] * self.dims_in[j]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: mariogeiger/se3cnn
Commit Name: ca5ec9585e711f63acbe337bc38c37520189b9d7
Time: 2017-08-09
Author: geiger.mario@gmail.com
File Name: se3_cnn/convolution.py
Class Name: SE3KernelCombination
Method Name: backward
Project Name: Zhaoyi-Yan/Shift-Net_pytorch
Commit Name: df863b1326a1d174c64a4ca9fac997c4ceb56583
Time: 2018-12-23
Author: yanzhaoyi@outlook.com
File Name: models/shift_net/InnerShiftTripleFunction.py
Class Name: InnerShiftTripleFunction
Method Name: backward
Project Name: cornellius-gp/gpytorch
Commit Name: 83fdbeeb1030dd157cd0f99c7f4ed1726c18e0be
Time: 2017-07-14
Author: gpleiss@gmail.com
File Name: gpytorch/inference/posterior_models.py
Class Name: _VariationalGPPosterior
Method Name: forward