• P
    cherry pick 27846 Add uniform_random XPU kernel, test=kunlun (#28057) · 69ec13cd
    pangyoki 提交于
    * support uniform_random op on Baidu Kunlun
    
    * change dtype of attr shape from int to int64_t
    
    * kunlun ci, test=kunlun
    
    * new version, test=kunlun
    
    * change boost_get to BOOST_GET_CONST
    
    * change boost_get to BOOST_GET_CONST, test=kunlun
    
    * use Generator to generate random number and optimize format
    
    * run Kunlun CI, test=kunlun
    
    * add TODO, test=kunlun
    69ec13cd
uniform_random_op_xpu.cc 2.8 KB