diff --git a/x2paddle/op_mapper/pytorch2paddle/aten.py b/x2paddle/op_mapper/pytorch2paddle/aten.py index d49f2680bf83afe9861650d338ba8103ae36f752..17798f5737fdfa59f94c295c238fe29d90c0db41 100644 --- a/x2paddle/op_mapper/pytorch2paddle/aten.py +++ b/x2paddle/op_mapper/pytorch2paddle/aten.py @@ -3912,6 +3912,7 @@ def aten_upsample_bilinear2d(mapper, graph, node): type="eq") layer_inputs["scale_factor"] = inputs_name[3] layer_attrs["align_mode"] = 0 + layer_attrs["mode"] = "bilinear" graph.add_layer( "paddle.nn.functional.interpolate", inputs=layer_inputs,