58b93a741a9f494c0f3dec4d61707e6e5cc6198d,encoding/functions/syncbn.py,inp_syncbatchnorm_,forward,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,181
Before Change
// Output
ctx.save_for_backward(x, _ex, _exs, gamma, beta)
return x
@staticmethod
@once_differentiable
def backward(ctx, dz):
After Change
// Output
ctx.save_for_backward(x, _ex, _exs, gamma, beta)
ctx.mark_non_differentiable(running_mean, running_var)
return x, running_mean, running_var
@staticmethod
@once_differentiable
def backward(ctx, dz, _drunning_mean, _drunning_var):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: zhanghang1989/PyTorch-Encoding
Commit Name: 58b93a741a9f494c0f3dec4d61707e6e5cc6198d
Time: 2021-03-06
Author: 34292687+zhangbin0917@users.noreply.github.com
File Name: encoding/functions/syncbn.py
Class Name: inp_syncbatchnorm_
Method Name: forward
Project Name: zhanghang1989/PyTorch-Encoding
Commit Name: 58b93a741a9f494c0f3dec4d61707e6e5cc6198d
Time: 2021-03-06
Author: 34292687+zhangbin0917@users.noreply.github.com
File Name: encoding/functions/syncbn.py
Class Name: syncbatchnorm_
Method Name: forward
Project Name: mapillary/inplace_abn
Commit Name: 24fc791e6d4796a1639e7a5dce6fa67377e51a3e
Time: 2020-04-22
Author: lorenzo@mapillary.com
File Name: inplace_abn/functions.py
Class Name: InPlaceABN
Method Name: forward
Project Name: zhanghang1989/PyTorch-Encoding
Commit Name: 58b93a741a9f494c0f3dec4d61707e6e5cc6198d
Time: 2021-03-06
Author: 34292687+zhangbin0917@users.noreply.github.com
File Name: encoding/functions/syncbn.py
Class Name: inp_syncbatchnorm_
Method Name: forward