提交 0f6816a1 编写于 作者: S SunAhong1993

reback

上级 8ec4883c
......@@ -313,9 +313,6 @@ class OpSet9():
inputs['size'] = var_hw
attrs = {"align_corners": False,
"mode": string(node.get_attr('mode', 'nearest'))}
val_x_shape = val_x.out_shapes[0]
if len(val_x_shape) == 4:
attrs["mode"] = string("bilinear")
self.paddle_graph.add_layer(
kernel="paddle.nn.functional.interpolate",
inputs=inputs,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册