提交 683dc396 编写于 作者: C Channingss

delete redundant code

上级 1372a6d7
......@@ -550,8 +550,6 @@ class OpSet9():
def Expand(self, node):
val_x = self.graph.get_input_node(node, idx=0, copy=True)
val_shape = self.graph.get_input_node(node, idx=1, copy=True)
if len(val_shape.outputs) == 1:
self.omit_nodes.append(val_shape.layer_name)
val_x_dtype = val_x.dtype
name_ones = node.layer_name + '_ones'
attr_ones = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册