Module Import alias identifier Import alias identifier Import alias Import alias identifier Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad NameLoad NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults TupleLoad Num NameLoad AttributeLoad NameLoad attr NameLoad Num NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assert CompareEq Call NameLoad NameLoad Num If NameLoad body Assign NameStore BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad keyword TupleLoad NameLoad keyword NameLoad keyword SubscriptLoad NameLoad Index Num keyword NameLoad keyword AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad keyword Str keyword NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword Str keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign TupleStore NameStore NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Num If AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad keyword Num orelse Assign NameStore NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Return Call NameLoad keyword NameLoad keyword NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore NameStore ListComp SubscriptLoad NameLoad Index Num comprehension NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad ListLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Assign NameStore BinOpAdd BinOpMult NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str NameLoad Return TupleLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list NameLoad NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Return ListLoad Str orelse Return ListLoad decorator_list NameLoad decorator_list
N/A N/A lasagne.layers L N/A lasagne.nonlinearities NL N/A lasagne.init N/A numpy np N/A theano.tensor TT rllab.core.lasagne_layers ParamLayer rllab.core.lasagne_powered LasagnePowered rllab.core.network GRUNetwork rllab.core.serializable Serializable rllab.distributions.recurrent_diagonal_gaussian RecurrentDiagonalGaussian rllab.misc ext rllab.spaces Discrete rllab.misc.overrides overrides rllab.policies.base StochasticPolicy GaussianGRUPolicy N/A StochasticPolicy LasagnePowered Serializable N/A __init__ N/A N/A self env_spec hidden_sizes state_include_action hidden_nonlinearity learn_std init_std output_nonlinearity N/A N/A 32 True N/A NL tanh True 1.0 None N/A N/A 
        :param env_spec: A spec for the env.
        :param hidden_sizes: list of sizes for the fully connected hidden layers
        :param hidden_nonlinearity: nonlinearity used for each hidden layer
        :return:
         N/A N/A N/A Serializable quick_init self N/A locals N/A N/A N/A N/A super GaussianGRUPolicy self __init__ env_spec N/A N/A N/A len hidden_sizes 1 N/A state_include_action N/A N/A obs_dim N/A N/A N/A env_spec observation_space flat_dim N/A N/A env_spec action_space flat_dim N/A N/A obs_dim N/A N/A env_spec observation_space flat_dim N/A action_dim N/A N/A env_spec action_space flat_dim N/A mean_network N/A GRUNetwork input_shape N/A obs_dim output_dim action_dim hidden_dim N/A hidden_sizes N/A 0 hidden_nonlinearity hidden_nonlinearity output_nonlinearity N/A NL softmax N/A l_mean N/A mean_network output_layer N/A obs_var N/A mean_network input_var N/A l_log_std N/A ParamLayer N/A mean_network input_layer num_units action_dim param N/A N/A N/A lasagne init Constant N/A N/A np log init_std name output_log_std trainable learn_std N/A l_step_log_std N/A ParamLayer N/A mean_network step_input_layer num_units action_dim param N/A l_log_std param name step_output_log_std trainable learn_std N/A N/A self _mean_network mean_network N/A N/A self _l_log_std l_log_std N/A N/A self _state_include_action state_include_action N/A N/A self _f_step_mean_std N/A N/A ext compile_function N/A N/A N/A mean_network step_input_layer input_var N/A N/A mean_network step_prev_hidden_layer input_var N/A N/A L get_output N/A N/A mean_network step_output_layer l_step_log_std N/A mean_network step_hidden_layer N/A N/A self _prev_action None N/A N/A self _prev_hidden None N/A N/A self _hidden_sizes hidden_sizes N/A N/A self _dist N/A RecurrentDiagonalGaussian N/A N/A N/A self reset N/A N/A N/A LasagnePowered __init__ self N/A N/A mean_network output_layer l_log_std N/A dist_info_sym N/A N/A self obs_var state_info_vars N/A N/A N/A N/A n_batches n_steps N/A N/A obs_var shape N/A 2 N/A obs_var N/A N/A obs_var reshape N/A n_batches n_steps -1 N/A N/A self _state_include_action N/A N/A prev_action_var N/A state_info_vars N/A prev_action N/A all_input_var N/A N/A TT concatenate N/A obs_var prev_action_var axis 2 N/A N/A all_input_var obs_var N/A N/A means log_stds N/A N/A L get_output N/A N/A N/A self _mean_network output_layer N/A self _l_log_std all_input_var N/A N/A dict mean means log_std log_stds N/A overrides reset N/A N/A self N/A N/A N/A N/A self _prev_action None N/A N/A self _prev_hidden N/A N/A N/A N/A self _mean_network hid_init_param get_value N/A get_action N/A N/A self observation N/A N/A N/A N/A self _state_include_action N/A N/A N/A N/A self _prev_action None N/A N/A prev_action N/A N/A np zeros N/A N/A N/A self action_space flat_dim N/A N/A prev_action N/A N/A N/A self action_space flatten N/A self _prev_action N/A all_input N/A N/A np concatenate N/A N/A N/A N/A self observation_space flatten observation prev_action N/A N/A all_input N/A N/A N/A self observation_space flatten observation N/A prev_action N/A np nan N/A N/A mean log_std hidden_vec N/A N/A x N/A 0 N/A x N/A N/A self _f_step_mean_std N/A all_input N/A N/A self _prev_hidden N/A rnd N/A N/A N/A np random randn N/A len mean N/A action N/A N/A rnd N/A N/A np exp log_std mean N/A N/A self _prev_action action N/A N/A self _prev_hidden hidden_vec N/A agent_info N/A dict mean mean log_std log_std N/A N/A self _state_include_action N/A N/A N/A agent_info N/A prev_action prev_action N/A N/A action agent_info N/A overrides recurrent N/A N/A self N/A N/A N/A True N/A property overrides distribution N/A N/A self N/A N/A N/A N/A self _dist N/A property state_info_keys N/A N/A self N/A N/A N/A N/A self _state_include_action N/A N/A N/A prev_action N/A N/A N/A N/A property N/A