MCPcopy Create free account
hub / github.com/Yang-Li-2000/Touch-Line-Transformer / FrozenBatchNorm2d

Class FrozenBatchNorm2d

models/backbone.py:20–57  ·  view source on GitHub ↗

BatchNorm2d where the batch statistics and the affine parameters are fixed. Copy-paste from torchvision.misc.ops with added eps before rqsrt, without which any other models than torchvision.models.resnet[18,34,50,101] produce nans.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

replace_bnFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected