Module ImportFrom alias ImportFrom alias ImportFrom alias alias Import alias identifier Import alias Import alias identifier ImportFrom alias Assign NameStore ListLoad Str Str Assign NameStore ListLoad Str Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad Num NameLoad Num NameLoad NameLoad NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore IfExp CompareEq Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr IfExp NameLoad Call AttributeLoad NameLoad attr TupleLoad Num Num NameLoad Assign AttributeStore NameLoad attr Call NameLoad If CompareEq Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareNotIn NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad If CompareNotIn NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str If BoolOpAnd NameLoad CompareEq NameLoad Str body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Index AttributeLoad NameLoad attr Num attr Num Str Assign NameStore BinOpMult NameLoad NameLoad Assign NameStore BinOpMult NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Assign NameStore Call NameLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Slice Call NameLoad AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore SubscriptLoad NameLoad Slice Num If CompareNotEq AttributeLoad NameLoad attr NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad NameLoad If CompareEq AttributeLoad NameLoad attr Str body Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr ListLoad Str Str Str Str orelse Assign TupleStore NameStore NameStore NameStore NameStore TupleLoad Num Num Num Num If CompareIn Str NameLoad body Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr ListLoad Str Str Str Str AugAssignAdd NameStore NameLoad AugAssignAdd NameStore NameLoad AugAssignAdd NameStore NameLoad AugAssignAdd NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpMult NameLoad NameLoad BinOpMult NameLoad Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BinOpMult NameLoad Call AttributeLoad NameLoad attr NameLoad If CompareIn Str NameLoad body Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr Num Str Assign NameStore BinOpAdd BinOpMult NameLoad NameLoad BinOpMult NameLoad BinOpSub Num NameLoad Assign NameStore BinOpAdd BinOpMult NameLoad NameLoad BinOpMult NameLoad BinOpSub Num NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad If CompareNotEq AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad If NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad orelse If AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot NameLoad body Assign NameStore AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr Call SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Num SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr Assign NameStore NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore ListStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword ListLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num If CompareEq AttributeLoad NameLoad attr Str body Return SubscriptLoad NameLoad Index Num orelse If CompareEq AttributeLoad NameLoad attr Str body Return Call AttributeLoad NameLoad attr TupleLoad Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str If CompareGt AttributeLoad NameLoad attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list
N/A N/A NeuralLayer var NeuralVariable deepy.utils build_activation FLOATX N/A numpy np N/A theano N/A theano.tensor T collections OrderedDict N/A OUTPUT_TYPES N/A sequence one N/A INPUT_TYPES N/A sequence one LSTM N/A NeuralLayer N/A N/A 
    Long short-term memory layer.
     __init__ N/A N/A self hidden_size input_type output_type inner_activation outer_activation inner_init outer_init steps go_backwards persistent_state batch_size reset_state_for_input forget_bias mask second_input second_input_size N/A sequence sequence sigmoid tanh None None None False False 0 None 1 None None None N/A N/A N/A N/A N/A super LSTM self __init__ lstm N/A N/A self _hidden_size hidden_size N/A N/A self _input_type input_type N/A N/A self _output_type output_type N/A N/A self _inner_activation inner_activation N/A N/A self _outer_activation outer_activation N/A N/A self _inner_init inner_init N/A N/A self _outer_init outer_init N/A N/A self _steps steps N/A N/A self persistent_state persistent_state N/A N/A self reset_state_for_input reset_state_for_input N/A N/A self batch_size batch_size N/A N/A self go_backwards go_backwards N/A mask N/A N/A N/A type mask NeuralVariable N/A mask tensor mask N/A N/A self mask N/A mask N/A N/A mask dimshuffle N/A 1 0 None N/A N/A self _sequence_map N/A OrderedDict N/A N/A N/A type second_input NeuralVariable N/A N/A second_input_size N/A N/A second_input dim N/A second_input N/A second_input tensor N/A N/A self second_input second_input N/A N/A self second_input_size second_input_size N/A N/A self forget_bias forget_bias N/A N/A input_type INPUT_TYPES N/A N/A N/A Exception N/A Input type of LSTM is wrong: %s input_type N/A N/A output_type OUTPUT_TYPES N/A N/A N/A Exception N/A Output type of LSTM is wrong: %s output_type N/A N/A N/A self persistent_state N/A N/A self batch_size N/A N/A N/A Exception Batch size must be set for persistent state mode N/A N/A mask N/A input_type one N/A N/A N/A Exception Mask only works with sequence input N/A _auto_reset_memories N/A N/A self x h m N/A N/A N/A reset_matrix N/A N/A N/A N/A T neq N/A x N/A N/A N/A N/A self reset_state_for_input 1 dimshuffle 0 x N/A h N/A h reset_matrix N/A m N/A m reset_matrix N/A N/A h m N/A step N/A N/A self N/A vars N/A N/A sequence_map N/A dict N/A zip N/A N/A N/A self _sequence_map keys N/A vars N/A N/A len N/A self _sequence_map N/A N/A h_tm1 c_tm1 N/A vars N/A -2 N/A N/A N/A self reset_state_for_input None N/A N/A N/A h_tm1 c_tm1 N/A N/A self _auto_reset_memories N/A sequence_map N/A x h_tm1 c_tm1 N/A N/A N/A self _input_type sequence N/A N/A N/A xi_t xf_t xo_t xc_t N/A map N/A sequence_map get N/A xi xf xo xc N/A N/A N/A xi_t xf_t xo_t xc_t N/A 0 0 0 0 N/A N/A xi2 sequence_map N/A N/A N/A xi2 xf2 xo2 xc2 N/A map N/A sequence_map get N/A xi2 xf2 xo2 xc2 N/A xi_t xi2 N/A xf_t xf2 N/A xo_t xo2 N/A xc_t xc2 N/A i_t N/A N/A self _inner_act N/A N/A xi_t N/A N/A T dot h_tm1 N/A self U_i N/A self b_i N/A f_t N/A N/A self _inner_act N/A N/A xf_t N/A N/A T dot h_tm1 N/A self U_f N/A self b_f N/A c_t N/A N/A f_t c_tm1 N/A i_t N/A N/A self _outer_act N/A N/A xc_t N/A N/A T dot h_tm1 N/A self U_c N/A self b_c N/A o_t N/A N/A self _inner_act N/A N/A xo_t N/A N/A T dot h_tm1 N/A self U_o N/A self b_o N/A h_t N/A o_t N/A N/A self _outer_act c_t N/A N/A mask sequence_map N/A N/A mask N/A N/A N/A sequence_map N/A mask dimshuffle 0 x N/A h_t N/A N/A h_t mask N/A h_tm1 N/A 1 mask N/A c_t N/A N/A c_t mask N/A c_tm1 N/A 1 mask N/A N/A h_t c_t N/A produce_input_sequences N/A N/A self x mask second_input N/A None None N/A N/A N/A N/A N/A self _sequence_map clear N/A N/A N/A self _input_type sequence N/A N/A xi N/A N/A T dot x N/A self W_i N/A xf N/A N/A T dot x N/A self W_f N/A xc N/A N/A T dot x N/A self W_c N/A xo N/A N/A T dot x N/A self W_o N/A N/A N/A N/A self _sequence_map update N/A N/A xi xi N/A xf xf N/A xc xc N/A xo xo N/A N/A N/A self reset_state_for_input None N/A N/A N/A N/A self _sequence_map N/A x x N/A mask N/A N/A N/A N/A self _sequence_map N/A mask mask N/A N/A N/A self mask N/A N/A N/A N/A self _sequence_map N/A mask N/A self mask N/A N/A N/A self second_input N/A second_input N/A N/A second_input N/A self second_input N/A second_input N/A N/A xi2 N/A N/A T dot second_input N/A self W_i2 N/A xf2 N/A N/A T dot second_input N/A self W_f2 N/A xc2 N/A N/A T dot second_input N/A self W_c2 N/A xo2 N/A N/A T dot second_input N/A self W_o2 N/A N/A N/A N/A self _sequence_map update N/A N/A xi2 xi2 N/A xf2 xf2 N/A xc2 xc2 N/A xo2 xo2 N/A N/A N/A N/A self _sequence_map values N/A produce_initial_states N/A N/A self x N/A N/A N/A N/A self persistent_state N/A N/A N/A N/A self state_h N/A self state_m N/A N/A h0 N/A N/A T alloc N/A N/A N/A np cast N/A FLOATX 0.0 N/A N/A x shape N/A 0 N/A self _hidden_size N/A m0 h0 N/A N/A h0 m0 N/A compute_tensor N/A N/A self x N/A N/A N/A N/A h0 m0 N/A N/A self produce_initial_states x N/A N/A N/A self _input_type sequence N/A N/A x N/A N/A x dimshuffle N/A 1 0 2 N/A sequences N/A N/A self produce_input_sequences x N/A N/A h0 x N/A sequences N/A N/A self produce_input_sequences None N/A N/A N/A hiddens memories _ N/A N/A theano scan N/A self step sequences sequences outputs_info N/A h0 m0 n_steps N/A self _steps go_backwards N/A self go_backwards N/A N/A self persistent_state N/A N/A N/A N/A self register_updates N/A N/A self state_h N/A hiddens N/A -1 N/A N/A N/A self register_updates N/A N/A self state_m N/A memories N/A -1 N/A N/A N/A self _output_type one N/A N/A N/A hiddens N/A -1 N/A N/A N/A N/A self _output_type sequence N/A N/A N/A N/A hiddens dimshuffle N/A 1 0 2 N/A prepare N/A N/A self N/A N/A N/A N/A N/A self _setup_params N/A N/A N/A self _setup_functions N/A _setup_functions N/A N/A self N/A N/A N/A N/A self _inner_act N/A build_activation N/A self _inner_activation N/A N/A self _outer_act N/A build_activation N/A self _outer_activation N/A _setup_params N/A N/A self N/A N/A N/A N/A self output_dim N/A self _hidden_size N/A N/A self W_i N/A N/A self create_weight N/A self input_dim N/A self _hidden_size wi initializer N/A self _outer_init N/A N/A self U_i N/A N/A self create_weight N/A self _hidden_size N/A self _hidden_size ui initializer N/A self _inner_init N/A N/A self b_i N/A N/A self create_bias N/A self _hidden_size i N/A N/A self W_f N/A N/A self create_weight N/A self input_dim N/A self _hidden_size wf initializer N/A self _outer_init N/A N/A self U_f N/A N/A self create_weight N/A self _hidden_size N/A self _hidden_size uf initializer N/A self _inner_init N/A N/A self b_f N/A N/A self create_bias N/A self _hidden_size f N/A N/A N/A self forget_bias 0 N/A N/A N/A N/A N/A self b_f set_value N/A N/A np ones N/A N/A self _hidden_size dtype FLOATX N/A N/A self W_c N/A N/A self create_weight N/A self input_dim N/A self _hidden_size wc initializer N/A self _outer_init N/A N/A self U_c N/A N/A self create_weight N/A self _hidden_size N/A self _hidden_size uc initializer N/A self _inner_init N/A N/A self b_c N/A N/A self create_bias N/A self _hidden_size c N/A N/A self W_o N/A N/A self create_weight N/A self input_dim N/A self _hidden_size wo initializer N/A self _outer_init N/A N/A self U_o N/A N/A self create_weight N/A self _hidden_size N/A self _hidden_size uo initializer N/A self _inner_init N/A N/A self b_o N/A N/A self create_bias N/A self _hidden_size suffix o N/A N/A N/A self _input_type sequence N/A N/A N/A N/A self register_parameters N/A self W_i N/A self U_i N/A self b_i N/A self W_c N/A self U_c N/A self b_c N/A self W_f N/A self U_f N/A self b_f N/A self W_o N/A self U_o N/A self b_o N/A N/A N/A N/A self register_parameters N/A self U_i N/A self b_i N/A self U_c N/A self b_c N/A self U_f N/A self b_f N/A self U_o N/A self b_o N/A N/A self second_input_size N/A N/A N/A self W_i2 N/A N/A self create_weight N/A self second_input_size N/A self _hidden_size wi2 initializer N/A self _outer_init N/A N/A self W_f2 N/A N/A self create_weight N/A self second_input_size N/A self _hidden_size wf2 initializer N/A self _outer_init N/A N/A self W_c2 N/A N/A self create_weight N/A self second_input_size N/A self _hidden_size wc2 initializer N/A self _outer_init N/A N/A self W_o2 N/A N/A self create_weight N/A self second_input_size N/A self _hidden_size wo2 initializer N/A self _outer_init N/A N/A N/A self register_parameters N/A self W_i2 N/A self W_f2 N/A self W_c2 N/A self W_o2 N/A N/A self persistent_state N/A N/A N/A self state_h N/A N/A self create_matrix N/A self batch_size N/A self _hidden_size lstm_state_h N/A N/A self state_m N/A N/A self create_matrix N/A self batch_size N/A self _hidden_size lstm_state_m N/A N/A N/A self register_free_parameters N/A self state_h N/A self state_m N/A N/A N/A self state_h None N/A N/A self state_m None N/A N/A