• F
    Refine random crop · e71948f1
    fengjiayi 提交于
    1. Add a new attribute named 'startuo_seed' to RandomCropOp. If the input
    'Seed' is not initialized, the 'startup_seed' will be used to replace
    it.
    
    2. Refine CustomReader. Add a member variable 'scope_' to it. The
    'scope_' will act as the global scope of preprocesing, making it
    possiable to save something cross batches.
    e71948f1
create_custom_reader_op.cc 7.6 KB