提交 6b3675b8 编写于 作者: J jiangjiajun

code format

上级 2d6232eb
...@@ -4,8 +4,6 @@ from onnx import onnx_pb, helper ...@@ -4,8 +4,6 @@ from onnx import onnx_pb, helper
def get_old_name(arg, name_prefix=''): def get_old_name(arg, name_prefix=''):
"""Get the old rame for a possible renamed argument
"""
prefix_index = arg.find(name_prefix) prefix_index = arg.find(name_prefix)
if prefix_index != -1: if prefix_index != -1:
......
...@@ -814,14 +814,6 @@ class PaddleOpMapper(object): ...@@ -814,14 +814,6 @@ class PaddleOpMapper(object):
keepdims=0) keepdims=0)
return node return node
def yolo_box(self, op, block):
from .paddle_custom_layer.yolo_box import yolo_box
return yolo_box(op, block)
def multiclass_nms(self, op, block):
from .paddle_custom_layer.multiclass_nms import multiclass_nms
return multiclass_nms(op, block)
def reciprocal(self, op, block): def reciprocal(self, op, block):
inputs = op.input(op.input_names[0]) inputs = op.input(op.input_names[0])
outputs = op.output(op.output_names[0]) outputs = op.output(op.output_names[0])
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册