4691abc3017a4c3bc71dd5d056da42b28b51dcb2,tensorforce/models/model.py,Model,setup,#Model#,219
Before Change
)
// Add all summaries specified in summary_labels
if any(k in self.summary_labels for k in ["inputs", "states"]):
for name in sorted(states):
tf.contrib.summary.histogram(name=(self.scope + "/inputs/states/" + name), tensor=states[name])
if any(k in self.summary_labels for k in ["inputs", "actions"]):
After Change
tf.contrib.summary.histogram(name="reward", tensor=reward)
if "graph" in self.summary_labels:
with tf.name_scope(name="summarizer"):
graph_def = self.graph.as_graph_def()
graph_str = tf.constant(
value=graph_def.SerializeToString(),
dtype=tf.string,
shape=()
)
self.graph_summary = tf.contrib.summary.graph(
param=graph_str,
step=self.global_timestep
)
if "meta_param_recorder_class" in self.summarizer_spec:
self.graph_summary = tf.group(
self.graph_summary,
self.summarizer_spec["meta_param_recorder_class"].build_metagraph_list()
)
if self.summarizer_spec is not None:
record_summaries.__exit__(None, None, None)
default_summarizer.__exit__(None, None, None)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: reinforceio/tensorforce
Commit Name: 4691abc3017a4c3bc71dd5d056da42b28b51dcb2
Time: 2018-08-31
Author: alexkuhnle@t-online.de
File Name: tensorforce/models/model.py
Class Name: Model
Method Name: setup
Project Name: wenwei202/iss-rnns
Commit Name: b77f127b891d3c68faa013f3616137868188087d
Time: 2016-10-07
Author: seominjoon@gmail.com
File Name: basic/trainer.py
Class Name: MultiGPUTrainer
Method Name: __init__
Project Name: keras-team/keras
Commit Name: 3b440235e237ef59ec5763c413e7f4292dab5d79
Time: 2018-04-26
Author: francois.chollet@gmail.com
File Name: keras/engine/network.py
Class Name: Network
Method Name: run_internal_graph