提交 bbbbd42e 编写于 作者: S SunAhong1993

fix

上级 15afb0b4
......@@ -1356,8 +1356,6 @@ class OpSet9():
shape_slope = val_slope.out_shapes[0]
if shape_slope == [1]:
mode = 'all'
elif len(shape_slope) > 2:
raise Exception("The 'element' mode is not supported yet!")
if mode == "element":
self.paddle_graph.add_layer(
......
......@@ -1333,8 +1333,6 @@ class OpSet9():
shape_slope = val_slope.out_shapes[0]
if shape_slope == [1]:
mode = 'all'
elif len(shape_slope) > 2:
raise Exception("The 'element' mode is not supported yet!")
if mode == "element":
self.paddle_graph.add_layer(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册