191035825a0b453ca11058f43c0beb6024241f5f,tensorforce/models/model.py,Model,observe,#Model#Any#Any#,1094
Before Change
fetches = self.episode_output
if batched:
assert self.batching_capacity is not None and terminal.shape[0] <= self.batching_capacity
feed_dict = {self.terminal_input: terminal, self.reward_input: reward, }
else:
feed_dict = {self.terminal_input: (terminal,), self.reward_input: (reward,)}
episode = self.monitored_session.run(fetches=fetches, feed_dict=feed_dict)
return episode
After Change
fetches = self.episode_output
feed_dict = self.get_feed_dict(terminal=terminal, reward=reward)
// if batched:
// assert self.batching_capacity is not None and terminal.shape[0] <= self.batching_capacity
// feed_dict = {self.terminal_input: terminal, self.reward_input: reward, }
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: reinforceio/tensorforce
Commit Name: 191035825a0b453ca11058f43c0beb6024241f5f
Time: 2018-01-21
Author: aok25@cl.cam.ac.uk
File Name: tensorforce/models/model.py
Class Name: Model
Method Name: observe
Project Name: befelix/safe_learning
Commit Name: 2a0c36ff448b477c54663b15951a2bc06ee1b4a2
Time: 2017-04-18
Author: fberkenkamp@gmail.com
File Name: examples/plotting.py
Class Name:
Method Name: plot_lyapunov_1d
Project Name: befelix/safe_learning
Commit Name: 2a0c36ff448b477c54663b15951a2bc06ee1b4a2
Time: 2017-04-18
Author: fberkenkamp@gmail.com
File Name: safe_learning/lyapunov.py
Class Name:
Method Name: smallest_boundary_value