mnist_config.py 251 字节
Newer Older
Z
zhangjinchao01 已提交
1 2
from paddle.trainer_config_helpers import *

3 4 5 6 7
define_py_data_sources2(
    train_list='train.list',
    test_list=None,
    module='mnist_provider',
    obj='process')
L
Luo Tao 已提交
8

9 10
img = data_layer(name='pixel', size=784)
label = data_layer(name='label', size=10)