Skip to content

Commit

Permalink
fix pruning of syncbatchnormalization layer (openvinotoolkit#737)
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeniya-egupova committed May 26, 2021
1 parent f2cc93d commit 5a0ce47
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion beta/nncf/tensorflow/layers/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
LAYERS_WITH_WEIGHTS.update(TF_LAYERS_WITH_WEIGHTS)

SPECIAL_LAYERS_WITH_WEIGHTS = {
'BatchNormalization': {WEIGHT_ATTR_NAME: 'gamma', BIAS_ATTR_NAME: 'beta'}
'BatchNormalization': {WEIGHT_ATTR_NAME: 'gamma', BIAS_ATTR_NAME: 'beta'},
'SyncBatchNormalization': {WEIGHT_ATTR_NAME: 'gamma', BIAS_ATTR_NAME: 'beta'}
}

ALL_LAYERS_WITH_WEIGHTS = {}
Expand Down
Git LFS file not shown

0 comments on commit 5a0ce47

Please sign in to comment.