Commit Graph

290 Commits (d5e40d1ba911a35f1094e9d04260e6c8d85fa68b)

Author SHA1 Message Date
hong 5f65d9d58c
Fix dygraph exit issue (#24347)
5 years ago
Aurelius84 1ed8baf9c8
[dy2static] Support for static graph training with @declarative decorator (#24259)
5 years ago
liym27 ac9a7eeea4
[Dy2Stat]Support list pop (#24250)
5 years ago
Xing Wu f79526c21c
Fix dygraph rnn doc (#24148)
5 years ago
liym27 e8869a907b
Fix bug in ProgramTranslator.get_output, convert all items into VarBase in nested list. (#24267)
5 years ago
Leo Chen 381492fca3
add try finally, test=develop (#24243)
5 years ago
zhongpu 61d19a8e1c
fix if logic in dygraph, test=develop (#24208)
5 years ago
Chen Weihang 9b851ba216
[dy2static] Add print transformer and unify print format (#24068)
5 years ago
Chen Weihang 9b3086cfb7
Fix some problems in StaticModelRunner (#24082)
5 years ago
qingqing01 b059fb955d
Add trainable_statistics in attr for batch_norm. (#24072)
5 years ago
liym27 2961a4f07d
[Dy2Stat] Optimize loop cond (#24049)
5 years ago
Xing Wu f6e8bf0d24
update cudnn rnn weights, test=develop (#23929)
5 years ago
Yibing Liu 720d18990c
Init complex number neural network (#24018)
5 years ago
wawltor 5c669ad1c2
Add the support dygraph out attribute for the op of mm in api2.0 (#23978)
5 years ago
liym27 1507f77a18
Fix bug in convert_call because difference exists between python3 and python2. test=develop (#23966)
5 years ago
liym27 0b0adbf9b6
[dy2static]Support recursive call (#23900)
5 years ago
Huihuang Zheng 45e48c3c32
[Dy2stat] Add Test and Example Code for Different Access to ProgramTranslator and Fix Related Bug (#23958)
5 years ago
Huihuang Zheng 81c4def96a
[Dy2stat] Rename Dygraph To Static Decorators (#23880)
5 years ago
liym27 37ef7c1351
[dy2static]Fix a bug of is_dygraph_api and move BasicApiTransformer to a separate file(#23923)
5 years ago
Chen Weihang fccbc485f5
remove redundant visit func, test=develop (#23877)
5 years ago
Chen Weihang 5b97b8556e
remove train eval set in static runner, test=develop (#23834)
5 years ago
songyouwei 8f63a3ecff
fix no_grad argspec (#23790)
5 years ago
Xing Wu 840ac2b302
Cudnn rnn layers api (#23390)
5 years ago
zhongpu 2beb6eacba
fix if logic in dygraph (#23728)
5 years ago
Aurelius84 d265b16aed
Support transform two independent functions in dygraph_to_static_output (#23652)
5 years ago
Chen Weihang a2315d37cf
remove logging setting, test=develop (#23715)
5 years ago
songyouwei 0307393721
API(PRelu) error message enhancement (#23539)
5 years ago
songyouwei cae9340ec8
API(GRUUnit) error message enhancement (#23535)
5 years ago
songyouwei 475de6da22
API(Embedding) error message enhancement (#23533)
5 years ago
songyouwei dc1901f48e
API(BilinearTensorProduct) error message enhancement (#23528)
5 years ago
Aurelius84 d1f9a26c95
Refine mechanism of calling outer function in dy2static (#23688)
5 years ago
songyouwei 4d0efee4f4
Linear revert to matmul op (#23654)
5 years ago
silingtong123 f9e2a27963
error message of SpectralNorm OP enhancement (#23516)
5 years ago
zhongpu 076dcdfde9
add instance_norm op for dygraph (#23362)
5 years ago
songyouwei cb36478a36
add LayerList insert and extend (#23377)
5 years ago
Zhou Wei 1f83069117
API(to_variable/save_dygraph) error message enhancement(#23683)
5 years ago
zhongpu 60d1f98a7d
error message enhancement for Pool2D, test=develop (#23607)
5 years ago
liym27 f9c9d50e7e
Return VarBase of ProgramTranslator.get_output instead of numpy.ndarray. test=develop (#23663)
5 years ago
zhongpu 01a78323a7
API/OP (Conv2DTranspose) error message enhancement (#23590)
5 years ago
Leo Chen 795a0a9ab4
fix a typo, test=develop (#23685)
5 years ago
silingtong123 cec234b1aa
test=develop, error message of tree_conv OP enhancement (#23574)
5 years ago
silingtong123 7277df47bb
error message of NCE API enhancement (#23544)
5 years ago
songyouwei a1a95f8108
fix no_grad signature (#23600)
5 years ago
zhongpu d40c52403d
error message enhancement for Linear, test=develop (#23595)
5 years ago
zhongpu c1c8c7e431
error message enhancement for Conv2D, test=develop (#23561)
5 years ago
songyouwei b11340a437
support Layer level train/eval mode (#22463)
5 years ago
Aurelius84 d37cd74033
Polish set_optimizer Interface (#23588)
5 years ago
Chen Weihang f301eb7f34
api dygraph layer norm input check, test=develop (#23534)
5 years ago
Feiyu Chan 078dd05b73
add Conv2D/Conv2DTranspose/Conv3D/Conv3DTranspose in paddle.nn.layer (#23488)
5 years ago
songyouwei c435110a3f
support no_grad inplace operating (#22522)
5 years ago
Chen Weihang d349a622f0
api dygraph batch norm type check, test=develop (#23525)
5 years ago
zhongpu 8d95a10906
fix if logic in dygraph, test=develop (#23512)
5 years ago
zhongpu ea6a251c0b
fix sample code, test=develop (#23448)
5 years ago
Chen Weihang 75bd350710
Implement StaticModelRunner to support dygraph fine-tune static graph pre-training model (#23171)
5 years ago
Huihuang Zheng 036121b731
[Dy2stat] Make loop_transformer supports class variable (#23478)
5 years ago
Aurelius84 4955c97ee8
Add unitTest for `Tensor==constant` for ifElse in dygraph2static (#23407)
5 years ago
zhongpu 7ca836d3da
support if logic for Variable in dygraph (#22892)
5 years ago
zhongpu 166a1ae902
support forward hook for dygraph (#22443)
5 years ago
Huihuang Zheng 1d4d89baf8
[Dy2stat] Add data_layer_not_check (#23351)
5 years ago
Huihuang Zheng 8814853d82
Remove Read-Only Basic Type Variable in loop_vars (#23299)
5 years ago
hong 420944e514
enhance load dygraph; test=develop (#23167)
5 years ago
Leo Chen 488b2387e2
Feature/expand params in auto-generated pybind functions for dygraph operators (#23181)
5 years ago
Aurelius84 9474d140de
Support Parameter type determination in StaticAnalysis (#23302)
5 years ago
zhongpu dc24f38a9f
support math operator for variable (#23063)
5 years ago
Aurelius84 f8205ffa82
fix conflict var bug in loop_transformer test=develop (#23287)
5 years ago
Aurelius84 16e74f1185
fix is_controw_flow bug with `if Tensor.numpy()` (#23251)
5 years ago
Zeng Jinle 8bfd62ffb7
Expose dygraph.grad api (#23124)
5 years ago
Huihuang Zheng e5af90aa28
Add Decorator 'dygraph_to_static_program' and ProgramTranslator.save_inference_model (#23227)
5 years ago
Aurelius84 a647bcd355
Add convert_function_with_cache in dygraph_to_static_func (#23190)
5 years ago
Aurelius84 d6f72c4fcc
Add parameter(learning_rate) in NoamDecay (#23156)
5 years ago
liym27 af92630666
fix bug of loop_vars in loop_transformer.test=develop (#23180)
5 years ago
liym27 ebe4eab985
fix bug of ListTransformer in dygraph_to_static. test=develop (#23153)
5 years ago
Huihuang Zheng e9b18c7402
Rename Decorator "dygraph_to_static_graph" to "dygraph_to_static_func" (#23150)
5 years ago
Huihuang Zheng 05c00af5f1
Add dygraph_to_static_code and get_code in ProgramTranslator (#23162)
5 years ago
songyouwei 2787041246
bug fix (#23193)
5 years ago
liym27 11f94cdce9
Improve function is_control_flow_to_transform. test=develop (#23109)
5 years ago
liym27 573d2faacd
fix bug in function `is_to_variable`. test=develop (#23147)
5 years ago
Huihuang Zheng 6fc6bb3e78
Refactoring Program Cache Related Code (#23118)
5 years ago
Zeng Jinle a31d7328b7
Add dygraph double grad implementation (#22939)
5 years ago
Huihuang Zheng d066d6f994
[Dy2Stat] Change layers.data to fluid.data and Test Var Created In Loop (#23103)
5 years ago
songyouwei 2e2da7124b
high-performance dygraph slice (#22879)
5 years ago
Aurelius84 26bc953b3f
Fix returned arguments in IfElse_fn test=develop (#23102)
5 years ago
Aurelius84 31fc3ab79a
Support to use external function (#23057)
5 years ago
Huihuang Zheng fb7b008acc
Add Support for Break and Continue in Dygraph to Static (#23067)
5 years ago
liym27 5a202af90b
Support slice write in dygraph_to_static. test=develop (#23055)
5 years ago
Aurelius84 2403362d06
BugFix for parsing Arguments and inserting funcs in IfElseTransormer (#23035)
5 years ago
liym27 4af491c2bb
Tensor.shape support control flow if/for/while and bugfix (#22866)
5 years ago
Aurelius84 ab473357a2
Support and/or in dygraph_to_static control_flow_if (#22967)
5 years ago
Chen Weihang 3dfaf44adc
Rename dygraph parallel env & add doc (#22925)
5 years ago
liym27 08e80d170b
Support list in control flow for dygraph_to_static (#22902)
5 years ago
Huihuang Zheng d7a7c5f0bf
Support Simple For Range Loop in Dygraph to Static (#22867)
5 years ago
Aurelius84 4ff2915d1f
Refine code of IfElseTransformer and rename unittest files (#22930)
5 years ago
Aurelius84 ba65e4ebef
support Tensor.shape in control_flow_if test=develop (#22916)
5 years ago
Zeng Jinle d33c4343e1
Imperative tracer refactoring (#22457)
5 years ago
liym27 b290420fc4
fix bug in the transformation from to_variable to assign. test=develop (#22885)
5 years ago
liym27 4ea95b6fe5
Support Tensor.shape in dygraph_to_static (#22830)
5 years ago
Huihuang Zheng 0d463d3bf7
Fix NameVisitor bugs (#22847)
5 years ago
Huihuang Zheng aca3f5311d
Support "while" in Dygraph to Static (#22841)
5 years ago
Aurelius84 1217a52155
Modify the way of inserting newly defined func_nodes (#22837)
5 years ago
Aurelius84 a5036775a9
Add program_cache in dygrapht_to_static (#22766)
5 years ago