提交 f81f905b 编写于 作者: W wjj19950828

fixed bias bug

上级 bd2cba1f
......@@ -2201,6 +2201,8 @@ class OpSet9():
if val_b is not None:
_rename_or_remove_weight(self.weights, val_b.name,
op_name + '.bias')
else:
layer_attrs["bias_attr"] = False
self.paddle_graph.add_layer(
kernel=paddle_op,
inputs=inputs_dict,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册