Add new one hot function in nn.functional (#26183)
* add input.py file * write input.py * fix init file * add unit tests * fix dygraph and input shape * Revert "fix dygraph and input shape" This reverts commit 89ad8664. * fixed pylint * fix deprecated * fix old op * fix old op * set check_dygraph=True * Revert "set check_dygraph=True" This reverts commit a8e93e33. * test commit * fix doc and change test file name
Showing
想要评论请 注册 或 登录