6c6331df007fb155331c2fac0107b412ab62d943,src/garage/tf/policies/continuous_mlp_policy.py,ContinuousMLPPolicy,get_action_sym,#ContinuousMLPPolicy#Any#Any#,120
Before Change
Return action sym according to obs_var.
with tf.name_scope(name, "get_action_sym", [obs_var]):
with tf.name_scope(self._policy_network_name):
actions = layers.get_output(
self._output_layer, {self._obs_layer: obs_var}, **kwargs)
return tf.multiply(actions, self._action_bound)
@overrides
def get_action(self, observation):
Return a single action.
After Change
with tf.compat.v1.variable_scope(self._variable_scope):
return self.model.build(obs_var, name=name)
@overrides
def get_action(self, observation):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: rlworkgroup/garage
Commit Name: 6c6331df007fb155331c2fac0107b412ab62d943
Time: 2019-09-21
Author: ahtsans@gmail.com
File Name: src/garage/tf/policies/continuous_mlp_policy.py
Class Name: ContinuousMLPPolicy
Method Name: get_action_sym
Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 5f380782c706778b9c58908e788c9d69d95d5a44
Time: 2016-05-18
Author: jerjou@google.com
File Name: speech/api/speech_rest.py
Class Name:
Method Name: get_speech_service
Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 12122b5ac39d2534ea7e7cdd09decee7343daadf
Time: 2016-11-14
Author: puneith@google.com
File Name: language/api/analyze.py
Class Name:
Method Name: get_service