• A
    Remove constraint that last dimension is forced to be 1 by adding lookup_table_v2 (#19735) · 039b9710
    Aurelius84 提交于
    * Remove constraint that last dimension is forced to be 1 by add
    lookup_table_v2 test=develop
    
    * modify into PADDLE_ENFORCE_CUDA_SUCCESS test=develop
    
    * Revert "modify into PADDLE_ENFORCE_CUDA_SUCCESS test=develop"
    
    This reverts commit 8a960bfc61e51aa27c3c529df8fb90b93ebd19f9.
    
    * move api into fluid.embedding test=develop
    
    * fix example code test=develop
    
    * move one_hot into fluid.one_hot
    
    * modify api.spec test=develop
    
    * fix loss shape test=develop
    039b9710
API.spec 203.6 KB