bc3343ccf075e2feef0ca832a48ef2cd16335d99,tensorforce/core/baselines/mlp.py,MLPBaseline,create_tf_operations,#MLPBaseline#Any#,38

Before Change



            network_builder = layered_network_builder((
                {"type": "dense", "size": self.size},
                {"type": "dense", "size": self.size},
                {"type": "linear", "size": 1})
            )

After Change


            self.returns = tf.placeholder(dtype=tf.float32, shape=(None,))

            layers = []
            for _ in xrange(self.hidden_layers):
                layers.append({"type": "dense", "size": self.size})

            layers.append({"type": "linear", "size": 1})
            network = NeuralNetwork(network_builder=layered_network_builder(layers),
                                    inputs=dict(state=self.state))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: reinforceio/tensorforce
Commit Name: bc3343ccf075e2feef0ca832a48ef2cd16335d99
Time: 2017-07-29
Author: mi.schaarschmidt@gmail.com
File Name: tensorforce/core/baselines/mlp.py
Class Name: MLPBaseline
Method Name: create_tf_operations


Project Name: inspirehep/magpie
Commit Name: 9f95ab22d2d05e4a8453fcb8c877e76d0ccc7691
Time: 2016-01-07
Author: jan.stypka@cern.ch
File Name: magpie/feature_extraction/document_features.py
Class Name:
Method Name: extract_document_features


Project Name: hellohaptik/chatbot_ner
Commit Name: 6140cbd632d9e5c835cb6feaf3f7f7420facbe47
Time: 2019-01-13
Author: jatin.parekh@haptik.co
File Name: datastore/elastic_search/query.py
Class Name:
Method Name: get_dictionary_records