test_predict_network.py 231 字节
Newer Older
Y
Yu Yang 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13
from paddle.trainer_config_helpers import *

settings(batch_size=100)

x = data_layer(name='x', size=100)

y = fc_layer(
    input=x,
    size=100,
    bias_attr=ParamAttr(name='b'),
    param_attr=ParamAttr(name='w'))

outputs(y)