Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

fix bugs in codegen about return types

Open iclementine opened this issue 3 years ago • 1 comments

PR types

Bug fixes

PR changes

Others

Describe

  1. change the codegen code to avoid conversion from heterogeneous 'initializer list' to tuple, which fails on gcc 5.4;
  2. add a template CheckTensorHasNanOrInf to handle arbitary tuple of supported types.

iclementine avatar Aug 10 '22 04:08 iclementine

你的PR提交成功,感谢你对开源项目的贡献! 请关注后续CI自动化测试结果,详情请参考Paddle-CI手册。 Your PR has been submitted. Thanks for your contribution! Please wait for the result of CI firstly. See Paddle CI Manual for details.

paddle-bot[bot] avatar Aug 10 '22 04:08 paddle-bot[bot]