• Q
    cpu gpu transform function (#7191) · 0f353ab4
    Qiao Longfei 提交于
    * add rename guard
    
    * add device_data_transform
    
    * add device_data_transform_test
    
    * modify GetExpectedKernelType
    
    * update operator.run
    
    * support test test_label_semantic_roles
    
    * optimize code
    
    * optimize code
    
    * rename GetActualKernelType to GetExpectedKernelType
    
    * fix chunk_eval_op and device_data_transform_test
    
    * add is_same_place to place
    
    * optimize code, refine rename_guard
    
    * refine rename guard, add GetKernelTypeForVar
    
    * optimize code
    
    * add some log
    
    * rename guard
    
    * use sub scope to create var
    
    * fix compile
    
    * add IsInitialized for Tensor
    
    * add VarIsTensor
    
    * fix op_registry_test
    
    * test
    
    * tmp disable priority
    
    * restore switch_kernel.md
    
    * code clean
    0f353ab4
data_transform.h 5.9 KB