Commit Graph

227 Commits (develop)

Author SHA1 Message Date
Huihuang Zheng 649868ffb2
[Dy2stat] Fix the bug that loop_body_func may return single element (#31806)
5 years ago
Aurelius84 def27bc801
[Dy2stat]Fix bug with static_convert_var_shape in locals scope (#31556)
5 years ago
Huihuang Zheng 6bf02a1261
[Dy2stat] Fix Read-Only Attribute as while_loop Output (#31415)
5 years ago
Aurelius84 1dd40870fc
[Dy2Stat] Fix eval_if_exist_else_none bug (#31261)
5 years ago
Huihuang Zheng cf43a321a8
[Dy2stat] Refactoring tensor_shape_transformer.py to Fix Change after Assign Bug (#31082)
5 years ago
Huihuang Zheng ef627ac5b9
Fix that convert_var_shape doesn't support slice like [0:], test=develop (#31051)
5 years ago
Huihuang Zheng c137578341
Add Support for Tuple in for Loop (#30998)
5 years ago
liym27 13ef444fa6
[Dy2Stat] Fix error message when the message has more than one lines. (#30714)
6 years ago
Aurelius84 621bc4f771
[Dy2static]Fix paddle prefix in is_paddle_api (#30569)
6 years ago
liym27 ff25c5b36f
Fix bug: GetAttrValue should deal with attr with attrType vector<double> (#30536)
6 years ago
Huihuang Zheng cd5f11b822
Decrease Batch Size for Windows CI, test=develop (#30331)
6 years ago
Huihuang Zheng 017a534888
Decrease Mac Input Size Because of CI Short Memory (#30330)
6 years ago
YUNSHEN XIE 42a6442a08
disable ut test_tsm on windows (#30017)
6 years ago
Huihuang Zheng c372a76303
Add Static Variable Clone (#30208)
6 years ago
Aurelius84 03e072736e
Skip convert tensor shape while using Paddle.shape (#30223)
6 years ago
liym27 ad55f609d5
[Dy2Stat] Don't convert to paddle.shape if var_x.shape is not negetive (#29965)
6 years ago
liym27 b2483d78a8
Fix test_slice: avoid unnecessary copying of TensorArray from subblock to parent block(#30168)
6 years ago
liym27 97e75ad0f5
[setitem] Support Tensor setitem in static mode (#29708)
6 years ago
liym27 41a7b07159
[Dy2Stat] Fix bug for loop: a variable is used and created in loop, but used before created (#29769)
6 years ago
liym27 a0b60716f1
[Dy2Stat] Support grammar: for ele in var[idx] (#29541)
6 years ago
liym27 096c048b45
Fix unitest test_slice (#29740)
6 years ago
Huihuang Zheng 2e788bd81e
Reduce batch size ot fix CPU memory, test=develop (#29736)
6 years ago
liym27 0cad1152f4
[Dy2Stat] 1. Fix bug of for-range stmts. 2. Support that step value is negative in for-range stmts (#29519)
6 years ago
Huihuang Zheng 831e9135b9
Fix Windows Unittest (#29543)
6 years ago
GeminiCarrie 08f24a3108
Fix precision problem (#29567)
6 years ago
Huihuang Zheng 8f7627907c
[Dy2stat] Reduce Exception Type for Better Error Message (#29268)
6 years ago
liym27 61a8f2874f
[Dy2Stat] Fix bug: Do not use gast.Subscript to replace gast.Name in when transforming for_enumerate_loop (#29310)
6 years ago
liym27 b9a8ebd50f
[Dy2stat] Add a decorator paddle.jit.not_to_static to support that not to convert a function in Dynamic-to-Static. (#29253)
6 years ago
Huihuang Zheng aec05d811c
[Dy2stat] Fix PaddleGan Deoldify Model Dy2stat Problems (#29226)
6 years ago
Chen Weihang 786e69e9c7
diable test_yolov3 in musl (#29216)
6 years ago
liym27 e03440812a
fix code: if y is True -> if y (#29184)
6 years ago
Huihuang Zheng 27b4218333
[Dy2stat] Disable PaddleInference IR Optimization in test_mnist for CUDA11 (#29105)
6 years ago
liym27 01bdea7c31
[Dy2Stat] Don't conver the function from third library logging (#29161)
6 years ago
liym27 a7433cc379
[Dy2Stat] Fix bug: the return statement should be transformed to an equivalent Paddle/Python if statement, which depends on if conditions of the return stmt. (#29165)
6 years ago
Huihuang Zheng 4a0a870177
[dy2stat] Set shape for linspace to Fix dy2stat for GridGenerator Model (#29173)
6 years ago
Aurelius84 cb680c8013
[Dy2Stat]Refine code of test_lac unittest (#29087)
6 years ago
liym27 5fe44571f0
[Dynamic-to-Static] Support **kwargs as input of the function which is decorated by `jit.save.to_static` (#29098)
6 years ago
YUNSHEN XIE 0fca8cdfdf
fix error with ut timeout and failed (#29148)
6 years ago
Leo Chen 770395cb93
Split train_mode and has_grad for tracer (#29064)
6 years ago
liym27 682cc17f53
[Dynamic-to-Static] Fix bug: support pop from a dict and polish code of convert_pop (#29023)
6 years ago
Aurelius84 8af0d85ea4
fix unittest failed on windows GPU (#29072)
6 years ago
tianshuo78520a e9acd9c941
Update CI Python3 Docker for Cuda11 (#28401)
6 years ago
Huihuang Zheng 5b339262bc
[Dy2stat] Add Tuple as Assign Target for Tensor Shape (#28775)
6 years ago
Leo Chen 3815d7aa40
Upgrade string literals to raw string (#28989)
6 years ago
liym27 85292e0b46
[Dynamic-to-Static] Fix bug of convert_logical_and/convert_logical_or: the operands are executed sequentially(#28993)
6 years ago
Huihuang Zheng 96126532cd
Fix Incorrect After Node Vars in IfElseTransformer, test=develop (#28992)
6 years ago
Aurelius84 d6aee7597c
[Dy2Stat]Set buff.persistable=False when it's not initialized (#28749)
6 years ago
Jack Zhou 9362d85e0e
Add LSTM, Simple RNN and GRU CPU kernel (#28577)
6 years ago
liym27 269470d62e
[Dynamic-to-Static] Remove unnecessary variables of the arguments in true_func/false_func (#28722)
6 years ago
liym27 e5f0e6b003
[Dynamic-to-Static] Fix bug in loop_transformer: loop vars should contain the var from ancestor-for-node (#28735)
6 years ago