ff9bc6dc375d0979ee4c596e740c7aa651a4b430,tensorforce/core/networks/layer.py,InternalLstm,tf_apply,#InternalLstm#Any#Any#Any#,1099

Before Change


        state = tf.stack(values=(state.c, state.h), axis=1)

        if "activations" in self.summary_labels:
            summary = tf.summary.histogram(name="activations", values=x)
            self.summaries.append(summary)

        return x, dict(state=state)

    def internals_spec(self):

After Change


        state = tf.stack(values=(state.c, state.h), axis=1)

        if "activations" in self.summary_labels:
            tf.contrib.summary.histogram(name="activations", tensor=x)

        return x, dict(state=state)

    def internals_spec(self):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 8

Instances


Project Name: reinforceio/tensorforce
Commit Name: ff9bc6dc375d0979ee4c596e740c7aa651a4b430
Time: 2018-07-27
Author: alexkuhnle@t-online.de
File Name: tensorforce/core/networks/layer.py
Class Name: InternalLstm
Method Name: tf_apply


Project Name: reinforceio/tensorforce
Commit Name: ff9bc6dc375d0979ee4c596e740c7aa651a4b430
Time: 2018-07-27
Author: alexkuhnle@t-online.de
File Name: tensorforce/core/networks/layer.py
Class Name: Dueling
Method Name: tf_apply


Project Name: reinforceio/tensorforce
Commit Name: ff9bc6dc375d0979ee4c596e740c7aa651a4b430
Time: 2018-07-27
Author: alexkuhnle@t-online.de
File Name: tensorforce/core/networks/layer.py
Class Name: Conv2d
Method Name: tf_apply


Project Name: reinforceio/tensorforce
Commit Name: ff9bc6dc375d0979ee4c596e740c7aa651a4b430
Time: 2018-07-27
Author: alexkuhnle@t-online.de
File Name: tensorforce/core/networks/layer.py
Class Name: Lstm
Method Name: tf_apply


Project Name: reinforceio/tensorforce
Commit Name: ff9bc6dc375d0979ee4c596e740c7aa651a4b430
Time: 2018-07-27
Author: alexkuhnle@t-online.de
File Name: tensorforce/core/networks/layer.py
Class Name: Dense
Method Name: tf_apply


Project Name: reinforceio/tensorforce
Commit Name: ff9bc6dc375d0979ee4c596e740c7aa651a4b430
Time: 2018-07-27
Author: alexkuhnle@t-online.de
File Name: tensorforce/core/networks/layer.py
Class Name: Conv1d
Method Name: tf_apply