@@ -698,14 +698,16 @@ def lstmemory_unit(input,
698
698
:param state_act: state activiation type of lstm.
699
699
:type state_act: BaseActivation
700
700
:param input_proj_bias_attr: bias attribute for input to hidden projection.
701
- False means no bias, None means default bias.
702
- :type input_proj_bias_attr: ParameterAttribute|False|None
701
+ False or None means no bias. If the parameter is set to True,
702
+ the bias is initialized to zero.
703
+ :type input_proj_bias_attr: ParameterAttribute|bool|None
703
704
:param input_proj_layer_attr: extra layer attribute for input to hidden
704
705
projection of the LSTM unit, such as dropout, error clipping.
705
706
:type input_proj_layer_attr: ExtraLayerAttribute
706
707
:param lstm_bias_attr: bias parameter attribute of lstm layer.
707
- False means no bias, None means default bias.
708
- :type lstm_bias_attr: ParameterAttribute|False|None
708
+ If the parameter is set to True or None,
709
+ the bias is initialized to zero.
710
+ :type lstm_bias_attr: ParameterAttribute|True|None
709
711
:param lstm_layer_attr: extra attribute of lstm layer.
710
712
:type lstm_layer_attr: ExtraLayerAttribute
711
713
:return: lstmemory unit name.
@@ -805,11 +807,13 @@ def lstmemory_group(input,
805
807
:param state_act: state activiation type of lstm.
806
808
:type state_act: BaseActivation
807
809
:param lstm_bias_attr: bias parameter attribute of lstm layer.
808
- False means no bias, None means default bias.
809
- :type lstm_bias_attr: ParameterAttribute|False|None
810
+ If the parameter is set to True or None, the bias is
811
+ initialized to zero.
812
+ :type lstm_bias_attr: ParameterAttribute|True|None
810
813
:param input_proj_bias_attr: bias attribute for input to hidden projection.
811
- False means no bias, None means default bias.
812
- :type input_proj_bias_attr: ParameterAttribute|False|None
814
+ False or None means no bias. If the parameter is set to True,
815
+ the bias is initialized to zero.
816
+ :type input_proj_bias_attr: ParameterAttribute|bool|None
813
817
:param input_proj_layer_attr: extra layer attribute for input to hidden
814
818
projection of the LSTM unit, such as dropout, error clipping.
815
819
:type input_proj_layer_attr: ExtraLayerAttribute
0 commit comments