|
|
|
|
|
|
hidden_size, |
|
|
|
num_outputs, |
|
|
|
kernel_init=Initialization.KaimingHeNormal, |
|
|
|
kernel_gain=0.2, |
|
|
|
kernel_gain=0.5, |
|
|
|
bias_init=Initialization.Zero, |
|
|
|
) |
|
|
|
self.tanh_squash = tanh_squash |
|
|
|
|
|
|
num_outputs, |
|
|
|
kernel_init=Initialization.KaimingHeNormal, |
|
|
|
kernel_gain=0.2, |
|
|
|
kernel_gain=0.5, |
|
|
|
bias_init=Initialization.Zero, |
|
|
|
) |
|
|
|
else: |
|
|
|