• H
    Add new data layer (#19916) · 88af4ab6
    Huihuang Zheng 提交于
    The new "fluid.data" changes old "fluid.layers.data":
    
    1. Add shape and dtype check.
    2. Remove "append_batch_size" parameter. We won't offer this in the new data layer because other deep learning platforms don't have this kind of data layer pre-processing. It may confuse users.
    3. Remove "stop gradient" parameter because the data layer doesn't do back-propagation
    
    TODO:
    Now data layer feeded by executor is checked, will we want to check the feed data of readers in the future?
    88af4ab6
__init__.py 7.4 KB