• P
    add categorical class (#27695) · 9b3ef597
    pangyoki 提交于
    * add multinomial cpu kernel
    
    * fix C++ notype error
    
    * fix windows ci array len error
    
    * let array len be const
    
    * change array to vector
    
    * add cuda kernrl with num_distribution is 1, and not support replacement=False
    
    * add multinomial python api
    
    * support num_distribution different multinomial distributions
    
    * add categorical class
    
    * fix test_distribution enable_static error
    
    * add unittest for different setting of Categorical
    
    * optimize format
    
    * little change
    
    * little change
    
    * add raise error if shape not match, optimize format
    
    * fix windows CI dtype error in concat
    
    * little changes
    
    * little changes2
    
    * change values type to int64
    
    * change values type to int64
    
    * change values type to int64
    9b3ef597
test_distribution.py 47.4 KB