150442111a9db973dcce7d20fb0cf386cebf60b0,tf_agents/agents/ddpg/actor_network.py,ActorNetwork,call,#ActorNetwork#Any#Any#Any#,107
Before Change
output_actions = tf.nest.pack_sequence_as(self._output_tensor_spec,
[actions])
return output_actions, network_state
After Change
self._output_tensor_spec = output_tensor_spec
def call(self, observations, step_type=(), network_state=(), training=False):
del step_type // unused.
observations = tf.nest.flatten(observations)
output = tf.cast(observations[0], tf.float32)
for layer in self._mlp_layers:
output = layer(output, training=training)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: tensorflow/agents
Commit Name: 150442111a9db973dcce7d20fb0cf386cebf60b0
Time: 2019-12-11
Author: ebrevdo@google.com
File Name: tf_agents/agents/ddpg/actor_network.py
Class Name: ActorNetwork
Method Name: call
Project Name: deepchem/deepchem
Commit Name: 7c9123131cb9e353ee8f6e1245f41d77f85af713
Time: 2018-08-22
Author: peastman@stanford.edu
File Name: deepchem/models/tensorgraph/layers.py
Class Name: AtomicConvolution
Method Name: create_tensor
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: babc30faa938bde87dedb1d970d8dfddb116564b
Time: 2020-06-23
Author: M.N.Tran@ibm.com
File Name: art/attacks/evasion/shapeshifter.py
Class Name: ShapeShifter
Method Name: _build_graph