You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WARNING: <function inner_func at 0x7fa9bcaacf50> doesn't have to be transformed to static function because it has been transformed before, it will be run as-is.
27
+
2020-01-01 00:00:00,104-WARNING: <function inner_func at 0x125b3a550> doesn't have to be transformed to static function because it has been transformed before, it will be run as-is.
30
28
```
31
29
32
30
## 运行转换后的代码报错
@@ -77,7 +75,7 @@ AssertionError: In user code:
77
75
78
76
1. 报错栈中,涉及代码转换过程的信息栈默认会被隐藏,不进行展示,以减少干扰信息。
79
77
80
-
2. ProgramTranslator处理后的报错信息中,会包含提示"In user code:",表示之后的报错栈中,包含动转静前的动态图代码,即用户写的代码:
78
+
2. ProgramTranslator 处理后的报错信息中,会包含提示"In user code:",表示之后的报错栈中,包含动转静前的动态图代码,即用户写的代码:
81
79
```bash
82
80
AssertionError: In user code:
83
81
@@ -95,7 +93,11 @@ AssertionError: In user code:
95
93
AssertionError: Only one dimension value of 'shape' in reshape can be -1. But received shape[1] is also -1.
0 commit comments