• H
    [PHI decoupling] simplify "convert_utils.h" in fluid (#48168) · de4310e6
    huangjiyi 提交于
    * rm dependence to "convert_utils.h" in some files
    
    * fix bugs
    
    * replace DataType2String with DataTypeToString
    
    * replace framework::DataTypeSize with phi::SizeOf
    
    * mv convert_function from fluid to phi and rm old map
    
    * recommit with pre-commit
    
    * repalce ProtoVarType with ProtoDataType and update comment.
    
    * fix error about include "dnnl.hpp"
    
    * revert add dep mkldnn to convert_utils in phi
    
    * add mkldnn deps in convert_utils.h in phi
    
    * move deps to convert_utils.h in phi
    de4310e6
imperative.cc 133.0 KB