4a53e30fafdd8c65c42d0cf978312e6333182db4,modules/functions.py,InPlaceABNSync,forward,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,167
Before Change
_check(_ext.bn_forward_cuda,
x, mean, var,
weight if weight is not None else x.new(),
bias if bias is not None else x.new() ,
x, x, ctx.eps)
// Activation
After Change
// Prepare inputs
count = _count_samples(x) * (ctx.master_queue.maxsize + 1)
x = x.contiguous()
weight = weight.contiguous() if ctx.affine else x.new_empty(0)
bias = bias.contiguous() if ctx.affine else x.new_empty(0)
if ctx.training:
mean, var = backend.mean_var(x)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: mapillary/inplace_abn
Commit Name: 4a53e30fafdd8c65c42d0cf978312e6333182db4
Time: 2018-05-21
Author: lorenzo@mapillary.com
File Name: modules/functions.py
Class Name: InPlaceABNSync
Method Name: forward
Project Name: mapillary/inplace_abn
Commit Name: 4a53e30fafdd8c65c42d0cf978312e6333182db4
Time: 2018-05-21
Author: lorenzo@mapillary.com
File Name: modules/functions.py
Class Name: InPlaceABN
Method Name: forward
Project Name: mariogeiger/se3cnn
Commit Name: 9c309a959052ec40cf92cf4baa3894f5118cf8c4
Time: 2019-07-08
Author: geiger.mario@gmail.com
File Name: se3cnn/blocks/point_gated_block.py
Class Name: PointGatedBlock
Method Name: forward