提交 91a82f50 编写于 作者: C Channingss

update

上级 f558f281
...@@ -562,15 +562,6 @@ class OpSet9(object): ...@@ -562,15 +562,6 @@ class OpSet9(object):
keepdims=op.attr('keep_dim')) keepdims=op.attr('keep_dim'))
return node 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): def bilinear_interp(self, op, block):
input_names = op.input_names input_names = op.input_names
input_shape = block.vars[op.input('X')[0]].shape input_shape = block.vars[op.input('X')[0]].shape
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册