support label with float input of cross_entropy, test=develop (#30929)
* support label with float input of cross_entropy, test=develop * fix code style in nn/functional/loss.py, test=develop
Showing
想要评论请 注册 或 登录
* support label with float input of cross_entropy, test=develop * fix code style in nn/functional/loss.py, test=develop