1775e89f262111791fabfd40f80a24f74738fe54,rllib/utils/exploration/stochastic_sampling.py,StochasticSampling,_get_tf_exploration_action_op,#StochasticSampling#Any#Any#,49

Before Change


            true_fn=lambda: action_dist.sampled_action_logp(),
            false_fn=logp_false_fn)

        return TupleActions(action) if isinstance(sample, TupleActions) \
            else action, logp

    @staticmethod
    def _get_torch_exploration_action(action_dist, explore):
        if explore:

After Change


            true_fn=lambda: action_dist.sampled_action_logp(),
            false_fn=logp_false_fn)

        return action, logp

    @staticmethod
    def _get_torch_exploration_action(action_dist, explore):
        if explore:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: ray-project/ray
Commit Name: 1775e89f262111791fabfd40f80a24f74738fe54
Time: 2020-04-28
Author: sven@anyscale.io
File Name: rllib/utils/exploration/stochastic_sampling.py
Class Name: StochasticSampling
Method Name: _get_tf_exploration_action_op


Project Name: ray-project/ray
Commit Name: 1775e89f262111791fabfd40f80a24f74738fe54
Time: 2020-04-28
Author: sven@anyscale.io
File Name: rllib/examples/autoregressive_action_dist.py
Class Name: BinaryAutoregressiveOutput
Method Name: deterministic_sample


Project Name: ray-project/ray
Commit Name: 1775e89f262111791fabfd40f80a24f74738fe54
Time: 2020-04-28
Author: sven@anyscale.io
File Name: rllib/examples/autoregressive_action_dist.py
Class Name: BinaryAutoregressiveOutput
Method Name: sample