|
|
@ -16,9 +16,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
from paddle.trainer_config_helpers import *
|
|
|
|
from paddle.trainer_config_helpers import *
|
|
|
|
|
|
|
|
|
|
|
|
settings(batch_size=1000)
|
|
|
|
settings(batch_size=300)
|
|
|
|
|
|
|
|
|
|
|
|
data = data_layer(name ="input", size=100000)
|
|
|
|
data = data_layer(name ="input", size=10000)
|
|
|
|
|
|
|
|
|
|
|
|
# emb1 is equal to emb2, note that bias_attr=false
|
|
|
|
# emb1 is equal to emb2, note that bias_attr=false
|
|
|
|
# and act=LinearActivation() in default.
|
|
|
|
# and act=LinearActivation() in default.
|
|
|
|