• W
    Add the op of unique_with_counts, expand count function of the op unique (#18720) · 3ab1866c
    wawltor 提交于
    * test=develop
    Add the op of unique_with_counts, the op is calc the unqiue input of data, and output the corresponding indices and count of data.
    
    * test=develop
    Check the input and dtype in the op of unique_with_counts
    
    * test=develop
    test=document_preview
    update the API.spec for `unique_with_counts`, at the same time, optimize the python api in the op of `unique_with_count`
    
    * test=develop
    test=document_preview
    Fix some python api problem in the op of `unique_with_counts`, and change the error messsage in this op.
    
    * Fix some API problem in the op of `unique_with_counts`
    test=develop
    test=document_preview
    
    * test=develop
    test=document_preview
    Fix the api sample of op `unique_with_counts`, and update api.spec
    3ab1866c
unique_with_counts_op.cc 2.9 KB