提交 d30aa89f 编写于 作者: J jerrywgz

test=develop

上级 481d8bce
...@@ -1831,10 +1831,9 @@ def box_clip(input_box, im_info, inplace=False, name=None): ...@@ -1831,10 +1831,9 @@ def box_clip(input_box, im_info, inplace=False, name=None):
input_box=boxes, im_info=im_info, inplace=True) input_box=boxes, im_info=im_info, inplace=True)
""" """
inputs = {"InputBox": input_box, "ImInfo": im_info}
helper = LayerHelper("box_clip", **locals()) helper = LayerHelper("box_clip", **locals())
output = helper.create_variable_for_type_inference(dtype=input_box.dtype) output = helper.create_variable_for_type_inference(dtype=input_box.dtype)
inputs = {"InputBox": input_box, "ImInfo": im_info}
helper.append_op( helper.append_op(
type="box_clip", type="box_clip",
inputs=inputs, inputs=inputs,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册