提交 0e8da3f0 编写于 作者: R root

fix the AveragePool

上级 dddaf7f4
......@@ -1194,7 +1194,7 @@ class OpSet9():
}
self.paddle_graph.add_layer(
paddle_op,
inputs={'x': val_x.name},
inputs={'x': val_x if isinstance(val_x, str) else val_x.name},
outputs=layer_outputs,
**layer_attrs)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册