4691abc3017a4c3bc71dd5d056da42b28b51dcb2,tensorforce/models/model.py,Model,setup,#Model#,219

Before Change


                if any(k in self.summary_labels for k in ["inputs", "actions"]):
                    for name in sorted(actions):
                        tf.contrib.summary.histogram(name=(self.scope + "/inputs/actions/" + name), tensor=actions[name])
                if any(k in self.summary_labels for k in ["inputs", "rewards"]):
                    tf.contrib.summary.histogram(name=(self.scope + "/inputs/rewards"), tensor=reward)

                if self.summarizer_spec is not None:

After Change


                if "inputs" in self.summary_labels or "states" in self.summary_labels:
                    for name in sorted(states):
                        tf.contrib.summary.histogram(name=("states-" + name), tensor=states[name])
                if "inputs" in self.summary_labels or "actions" in self.summary_labels:
                    for name in sorted(actions):
                        tf.contrib.summary.histogram(name=("actions-" + name), tensor=actions[name])
                if "inputs" in self.summary_labels or "reward" in self.summary_labels:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 7

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: eth-cscs/reframe
Commit Name: 831c7ea3fb00851fc0d30e51258b9283bdfbbfb0
Time: 2020-04-06
Author: maxime.boissonneault@calculquebec.ca
File Name: reframe/core/pipeline.py
Class Name: RegressionTest
Method Name: supports_system


Project Name: marcoancona/DeepExplain
Commit Name: 6ed7ad98f7a9466b4a9940119f02c67ff430a29e
Time: 2017-11-06
Author: marco.ancona@inf.ethz.ch
File Name: deepexplain/tensorflow/methods.py
Class Name: DeepLIFTRescale
Method Name: _init_references


Project Name: eth-cscs/reframe
Commit Name: 32a487d84a5bf2c409998597d751562e33da34ea
Time: 2020-04-03
Author: maxime.boissonneault@calculquebec.ca
File Name: reframe/core/pipeline.py
Class Name: RegressionTest
Method Name: supports_system