From d30aa89fa50c3f431cb5c9351a478c28176c7c5c Mon Sep 17 00:00:00 2001 From: jerrywgz Date: Wed, 16 Jan 2019 06:46:22 +0000 Subject: [PATCH] test=develop --- python/paddle/fluid/layers/detection.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python/paddle/fluid/layers/detection.py b/python/paddle/fluid/layers/detection.py index daeb10c1d..477ae67d0 100644 --- a/python/paddle/fluid/layers/detection.py +++ b/python/paddle/fluid/layers/detection.py @@ -1831,10 +1831,9 @@ def box_clip(input_box, im_info, inplace=False, name=None): input_box=boxes, im_info=im_info, inplace=True) """ - inputs = {"InputBox": input_box, "ImInfo": im_info} - helper = LayerHelper("box_clip", **locals()) output = helper.create_variable_for_type_inference(dtype=input_box.dtype) + inputs = {"InputBox": input_box, "ImInfo": im_info} helper.append_op( type="box_clip", inputs=inputs, -- GitLab