Update priorbox extenders (#1925)
This commit is contained in:
parent
a4d90a0aba
commit
675e1c821e
@ -27,3 +27,5 @@ class PriorBoxClustered_extender(Extender):
|
||||
op['V10_infer'] = True
|
||||
|
||||
PriorBox_extender.attr_restore(op, 'width', value=1.0)
|
||||
PriorBox_extender.attr_restore(op, 'height', value=1.0)
|
||||
PriorBox_extender.attr_restore(op, 'variance')
|
||||
|
@ -26,7 +26,7 @@ class PriorBox_extender(Extender):
|
||||
def extend(op: Node):
|
||||
op['V10_infer'] = True
|
||||
|
||||
attrs = ['min_size', 'max_size', 'aspect_ratio']
|
||||
attrs = ['min_size', 'max_size', 'aspect_ratio', 'variance', 'fixed_ratio', 'fixed_size', 'density']
|
||||
for attr in attrs:
|
||||
PriorBox_extender.attr_restore(op, attr)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user