• Y
    [PHI]Add RNN yaml (#46812) · ab60fd8b
    YuanRisheng 提交于
    * add yaml entry for rnn and rrnn_grad, move infershape function for rnn_grad to phi infer meta
    
    * WIP: move rnn kernrl to phi
    
    * Change the code generation to avoid converting from intializer list to tuple of heterogeneous types.
    This is only triggered when an api has intermediate outputs, and the result of the outputs are of heterogeneous types.
    
    * fix the bug that when none in a vector of tensors requires gradient, the conversion to InferShapeContext to InferMetaContext (a.k.a. BuildInferMetaContext) produces errorous results.
    
    * fix ci bugs
    
    * fix ci bugs
    
    * fix ci bugs
    
    * modify code according comment
    Co-authored-by: Nchenfeiyu <chenfeiyu@baidu.com>
    ab60fd8b
backward.h 19.0 KB