Remove constraint that last dimension is forced to be 1 by adding one_hot_v2 (#19716)
* add one_hot_v2_op to remove last_dims==1 test=develop * add api unittest code for CI_Coverage test=develop * improve CI_Coverage rate by adding test_with_depth test=develop
Showing
python/paddle/fluid/input.py
0 → 100644
想要评论请 注册 或 登录