• F
    Add unified RNN APIs (#26588) · f4083010
    Feiyu Chan 提交于
    * Add RNN related apis in paddl.nn
    test=develop
    
    * new rnn api, cell almost done
    
    * add new progresses in rnn APIs for 2.0
    
    * refine rnn APIs and docstrings.
    
    * add unittets
    
    * disable gpu tests when paddle is not compiled with cuda support
    
    * remove unnecessary imports
    
    * fix docstring
    
    * add to no_sample wlist
    
    * backport to python2 to avoid yield from
    
    * add **kwargs, fix typos
    
    * update docstrings for birnn
    
    * rename argument for SimpleRNN and SimpleRNNCell, fix sample code
    
    * add default value for initial_states in fluid.layers.birnn
    Co-authored-by: Nguosheng <guosheng@baidu.com>
    f4083010
CMakeLists.txt 29.1 KB