test_hsigmoid.py 233 字节
Newer Older
1 2
from paddle.trainer_config_helpers import *

Q
qijun 已提交
3
settings(learning_rate=1e-4, batch_size=1000)
4 5 6 7

din = data_layer(name='data', size=100)
label = data_layer(name='label', size=10)

Q
qijun 已提交
8
outputs(hsigmoid(input=din, label=label, num_classes=10))