未验证 提交 31cbf63e 编写于 作者: C ccrrong 提交者: GitHub

fix scale init error (#43638)

上级 81beec1c
......@@ -60,8 +60,8 @@ class BilinearInterpolateV2OpConverter : public OpConverter {
}
auto in_dim = input->getDimensions();
float scale_h = 1.f;
float scale_w = 1.f;
float scale_h = -1.f;
float scale_w = -1.f;
// Scales Priority: Scale(tensor) > scale(attr) > out_d/out_h/out_w(attr)
bool has_scale_input_attr =
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册