support Layer level train/eval mode (#22463)
* Layer add training attr, add Dropout Layer * add unit test for Dropout test=develop * minor fix test=develop * add missing args test=develop * support global flag in dropout, add docs test=develop * minor fix test=develop * minor fix test=develop * refine code comments test=develop * refine Dropout test=develop * fix ut test=develop * arg expansion test=develop * sample code update test=develop * prop -> p test=develop * fix ut test=develop * minor check fix test=develop
Showing
想要评论请 注册 或 登录