620d2c767c309327aa04210192b08f1c1fd0de76,reagent/net_builder/discrete_dqn/dueling.py,Dueling,build_q_network,#Dueling#Any#Any#Any#,26

Before Change


        output_dim: int,
    ) -> ModelBase:
        state_dim = self._get_input_dim(state_normalization_parameters)
        return DuelingQNetwork(
            layers=[state_dim] + self.sizes + [output_dim],
            activations=self.activations + ["linear"],
        )

After Change


        output_dim: int,
    ) -> ModelBase:
        state_dim = self._get_input_dim(state_normalization_parameters)
        return DuelingQNetwork(
            action_dim=output_dim,
            embedding=FullyConnectedNetwork(
                layers=[state_dim] + self.sizes, activations=self.activations
            ),
            quantiles=self.quantiles,
        )
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: facebookresearch/Horizon
Commit Name: 620d2c767c309327aa04210192b08f1c1fd0de76
Time: 2020-04-28
Author: jjg@fb.com
File Name: reagent/net_builder/discrete_dqn/dueling.py
Class Name: Dueling
Method Name: build_q_network


Project Name: facebookresearch/Horizon
Commit Name: 620d2c767c309327aa04210192b08f1c1fd0de76
Time: 2020-04-28
Author: jjg@fb.com
File Name: reagent/test/models/test_dueling_q_network.py
Class Name: TestDuelingQNetwork
Method Name: test_save_load_discrete_action


Project Name: facebookresearch/Horizon
Commit Name: 620d2c767c309327aa04210192b08f1c1fd0de76
Time: 2020-04-28
Author: jjg@fb.com
File Name: reagent/test/models/test_dueling_q_network.py
Class Name: TestDuelingQNetwork
Method Name: test_discrete_action


Project Name: facebookresearch/Horizon
Commit Name: 620d2c767c309327aa04210192b08f1c1fd0de76
Time: 2020-04-28
Author: jjg@fb.com
File Name: reagent/test/models/test_dueling_q_network.py
Class Name: TestDuelingQNetwork
Method Name: test_save_load_discrete_action_batch_norm