b9b54d4f30ff65cf1c54dc0cf90c938b48c44f90,reagent/net_builder/discrete_dqn/dueling.py,Dueling,build_q_network,#Dueling#Any#Any#Any#,28

Before 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,
        )

After 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"],
        )
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: facebookresearch/Horizon
Commit Name: b9b54d4f30ff65cf1c54dc0cf90c938b48c44f90
Time: 2020-04-28
Author: kittipat@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: b9b54d4f30ff65cf1c54dc0cf90c938b48c44f90
Time: 2020-04-28
Author: kittipat@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: b9b54d4f30ff65cf1c54dc0cf90c938b48c44f90
Time: 2020-04-28
Author: kittipat@fb.com
File Name: reagent/test/models/test_dueling_q_network.py
Class Name: TestDuelingQNetwork
Method Name: test_save_load_discrete_action_batch_norm


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