• Y
    Add COWPtr and its unittest · 0cfb5465
    Yang Yu 提交于
    It will be used for LoD information in LoDTensor since LoD is a copy
    on write field.
    
    It is pretty slow for copying LoD information between operators. For
    resnet it will cost roughly 10% time of whole time, including reading
    data.
    0cfb5465
cow_ptr.h 2.7 KB