4ef810643f162aebb1d9efd153a82e0dc9e9094e,garage/tf/policies/categorical_conv_policy.py,CategoricalConvPolicy,dist_info_sym,#CategoricalConvPolicy#Any#Any#Any#,75
Before Change
obs_var,
state_info_vars=None,
name="dist_info_sym"):
with enclosing_scope(self._name, name):
return dict(
prob=L.get_output(self._l_prob,
{self._l_obs: tf.cast(obs_var, tf.float32)}))
After Change
@overrides
def dist_info_sym(self, obs_var, state_info_vars=None, name=None):
with tf.name_scope(name, "dist_info_sym", [obs_var]):
with tf.name_scope(self._prob_network_name, [obs_var]):
prob = L.get_output(
self._l_prob, {self._l_obs: tf.cast(obs_var, tf.float32)})
return dict(prob)
@overrides
def dist_info(self, obs, state_infos=None):
return dict(prob=self._f_prob(obs))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: rlworkgroup/garage
Commit Name: 4ef810643f162aebb1d9efd153a82e0dc9e9094e
Time: 2018-07-20
Author: 35857569+gonzaiva@users.noreply.github.com
File Name: garage/tf/policies/categorical_conv_policy.py
Class Name: CategoricalConvPolicy
Method Name: dist_info_sym
Project Name: rlworkgroup/garage
Commit Name: 4ef810643f162aebb1d9efd153a82e0dc9e9094e
Time: 2018-07-20
Author: 35857569+gonzaiva@users.noreply.github.com
File Name: garage/tf/policies/gaussian_mlp_policy.py
Class Name: GaussianMLPPolicy
Method Name: dist_info_sym
Project Name: rlworkgroup/garage
Commit Name: 4ef810643f162aebb1d9efd153a82e0dc9e9094e
Time: 2018-07-20
Author: 35857569+gonzaiva@users.noreply.github.com
File Name: garage/tf/optimizers/conjugate_gradient_optimizer.py
Class Name: ConjugateGradientOptimizer
Method Name: update_opt