d2c500803a9d7141a3933d0f4804d9635cd7bfc6,models/soft_shift_net/innerSoftShiftTripleModule.py,InnerSoftShiftTripleModule,forward,#Any#Any#Any#Any#Any#Any#Any#,8
Before Change
// PASTE VALUES INTO HOLDER
shift_masked = Nonparm._paste(shift_masked.squeeze(), 1, stride, flag, patches_former)
shift_masked = shift_masked.detach().clone() // DOESN"T WORK WITHOUT DETACHING THE LAYER
return torch.cat((former, latter, shift_masked), 1)
After Change
// PASTE VALUES INTO HOLDER
shift_masked_all[idx] = Nonparm._paste(shift_masked.squeeze(), 1, stride, flag, patches_former)
shift_masked_all[idx] = shift_masked_all[idx].detach().clone() // DOESN"T WORK WITHOUT DETACHING THE LAYER
return torch.cat((former_all, latter_all, shift_masked_all), 1)
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 4
Instances
Project Name: Zhaoyi-Yan/Shift-Net_pytorch
Commit Name: d2c500803a9d7141a3933d0f4804d9635cd7bfc6
Time: 2018-12-13
Author: yanzhaoyi@outlook.com
File Name: models/soft_shift_net/innerSoftShiftTripleModule.py
Class Name: InnerSoftShiftTripleModule
Method Name: forward
Project Name: rusty1s/pytorch_geometric
Commit Name: 17e4da6dbcc6b6706888cb23333bf1224fd91514
Time: 2017-11-16
Author: matthias.fey@tu-dortmund.de
File Name: torch_geometric/sparse/mm.py
Class Name: _Mm
Method Name: backward
Project Name: OpenNMT/OpenNMT-py
Commit Name: 4cdf99d4f8a25639ccf89a933a5cfc6553d657ad
Time: 2018-03-07
Author: s.gehrmann@outlook.com
File Name: onmt/translate/Beam.py
Class Name: GNMTGlobalScorer
Method Name: update_score
Project Name: bearpaw/pytorch-pose
Commit Name: eb6443ada2af9240e8f1826b43ef755736dd9b0b
Time: 2017-05-29
Author: platero.yang@gmail.com
File Name: pose/models/hourglass.py
Class Name: HourglassNet
Method Name: forward
Project Name: pytorch/pytorch
Commit Name: a0cf5566d88533c5caa7a490beb6eb0760eee9b4
Time: 2021-01-21
Author: wanchaol@users.noreply.github.com
File Name: torch/optim/sgd.py
Class Name: SGD
Method Name: step