Skip to content

Commit 2bb7010

Browse files
wistalyipengqu
andauthored
MO should support LRN k param with caffe model, rather than fixed to 1 (#716)
Co-authored-by: yipengqu <yipeng.qu@intel.com>
1 parent 1ffada0 commit 2bb7010

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

model-optimizer/extensions/front/caffe/lrn_ext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def extract(cls, node):
2929
AttributedLRN.update_node_stat(node, {
3030
'alpha': param.alpha,
3131
'beta': param.beta,
32-
'bias': 1,
32+
'bias': param.k,
3333
'local_size': param.local_size,
3434
'region': region,
3535
})

0 commit comments

Comments
 (0)