• Z
    【PTen】Add fill_constant kernel using ScalarArray in pten (#37481) · a0d465f8
    zyfncg 提交于
    * add scalar and scalar_array
    
    * remove DenseTensor include from Scalar and ScalarArray
    
    * remove inner header from scalar_array
    
    * refactor the method of fill_constant and add some comment
    
    * add fill_constant kernel using ScalarArray
    
    * modify some prompt
    
    * remove fill_constant kernel with no shape
    a0d465f8
tensor_utils.cc 20.5 KB