关于Mixed Layer
Created by: VamWolf
with mixed_layer(size=256) as m:
m += full_matrix_projection(input=layer1)
m += identity_projection(input=layer2)
新paddle 的这个语法,与下面的这个写法的意思是一样的吧?除了看demo.还有官员Layer 配置的一些教程写法么. 为什么配置成这样的?
MixedLayer(
name = query + "_reverse_rnn%d_input" % j,
size = hidden_dim,
bias = False,
inputs = [FullMatrixProjection( j,
initial_std = 1 / math.sqrt(hidden_dim),
parameter_name = " j,
learning_rate =lr_hid_col),