From 91a82f509fda9ed0ac4602999bf7e4e6dfac1b73 Mon Sep 17 00:00:00 2001 From: Channingss Date: Mon, 10 Aug 2020 07:24:13 +0000 Subject: [PATCH] update --- x2paddle/op_mapper/paddle2onnx/opset9/opset.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/x2paddle/op_mapper/paddle2onnx/opset9/opset.py b/x2paddle/op_mapper/paddle2onnx/opset9/opset.py index ec72b10..d36a288 100644 --- a/x2paddle/op_mapper/paddle2onnx/opset9/opset.py +++ b/x2paddle/op_mapper/paddle2onnx/opset9/opset.py @@ -562,15 +562,6 @@ class OpSet9(object): keepdims=op.attr('keep_dim')) return node - def cast(self, op, block): - dtype = op.attr('out_dtype') - node = helper.make_node( - 'Cast', - inputs=op.input('X'), - outputs=op.output('Out'), - to=self.paddle_onnx_dtype_map[dtype]) - return node - def bilinear_interp(self, op, block): input_names = op.input_names input_shape = block.vars[op.input('X')[0]].shape -- GitLab