Skip to content

Commit a6d45f3

Browse files
authored
ops.ResizeBilinear has been deprecated, thus using ops.ResizeBilinearV2 instead (#789)
1 parent 7085347 commit a6d45f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/det/ssd/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def construct(self, inputs):
208208
top = len(inputs) - i - 1
209209
down = top - 1
210210
size = ops.shape(inputs[down])
211-
top_down = ops.ResizeBilinear((size[2], size[3]))(features[-1])
211+
top_down = ops.ResizeBilinearV2()(features[-1], (size[2], size[3]))
212212
top_down = top_down + image_features[down]
213213
features = features + (top_down,)
214214

0 commit comments

Comments
 (0)