From 1e8c227c516fce80bf9e8ce5ee16f03cadd92a4e Mon Sep 17 00:00:00 2001 From: Channingss Date: Fri, 17 Jul 2020 08:59:01 +0000 Subject: [PATCH] remove developing code --- .../op_mapper/onnx2paddle/opsets/opset10.py | 37 ------------------- .../op_mapper/onnx2paddle/opsets/opset11.py | 37 ------------------- 2 files changed, 74 deletions(-) delete mode 100644 x2paddle/op_mapper/onnx2paddle/opsets/opset10.py delete mode 100644 x2paddle/op_mapper/onnx2paddle/opsets/opset11.py diff --git a/x2paddle/op_mapper/onnx2paddle/opsets/opset10.py b/x2paddle/op_mapper/onnx2paddle/opsets/opset10.py deleted file mode 100644 index 9455aad..0000000 --- a/x2paddle/op_mapper/onnx2paddle/opsets/opset10.py +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License" -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -from x2paddle.core.graph import GraphNode -from x2paddle.core.op_mapper import OpMapper -from x2paddle.core.fluid_code import Layer -from x2paddle.core.fluid_code import FluidCode -from x2paddle.decoder.onnx_decoder import ONNXGraph, ONNXGraphNode, ONNXGraphDataNode -from x2paddle.op_mapper.onnx.custom_layer import * -from x2paddle.op_mapper.onnx.opset9 import ONNXOpMapperOpSet9 -from x2paddle.core.util import string -import numpy as np -import onnx -import onnx.numpy_helper as numpy_helper -from onnx.mapping import TENSOR_TYPE_TO_NP_TYPE -import logging as _logging -from collections import OrderedDict -import math -import os -import shutil -from functools import reduce - - -class ONNXOpMapperOpSet10(ONNXOpMapperOpSet9): - def __init__(self, decoder): - super(ONNXOpMapperOpSet10, self).__init__(decoder) diff --git a/x2paddle/op_mapper/onnx2paddle/opsets/opset11.py b/x2paddle/op_mapper/onnx2paddle/opsets/opset11.py deleted file mode 100644 index 3db1bad..0000000 --- a/x2paddle/op_mapper/onnx2paddle/opsets/opset11.py +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License" -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -from x2paddle.core.graph import GraphNode -from x2paddle.core.op_mapper import OpMapper -from x2paddle.core.fluid_code import Layer -from x2paddle.core.fluid_code import FluidCode -from x2paddle.decoder.onnx_decoder import ONNXGraph, ONNXGraphNode, ONNXGraphDataNode -from x2paddle.op_mapper.onnx.custom_layer import * -from x2paddle.op_mapper.onnx.opset10 import ONNXOpMapperOpSet10 -from x2paddle.core.util import string -import numpy as np -import onnx -import onnx.numpy_helper as numpy_helper -from onnx.mapping import TENSOR_TYPE_TO_NP_TYPE -import logging as _logging -from collections import OrderedDict -import math -import os -import shutil -from functools import reduce - - -class ONNXOpMapperOpSet11(ONNXOpMapperOpSet10): - def __init__(self, decoder): - super(ONNXOpMapperOpSet11, self).__init__(decoder) -- GitLab