9c889d184047c2613fb9f8473f3f8a4b11bd452d,autokeras/graph.py,Graph,_search_next,#Graph#,263

Before Change


                if self.layer_id_to_input_node_ids[layer_id][1] == u:
                    // u is on the right of the concat
                    next_start_dim += next_total_dim - total_dim
                self._search_next(v, next_start_dim, next_total_dim, n_add)

            else:
                self._search_next(v, start_dim, total_dim, n_add)

After Change


                else:
                    next_start_dim = start_dim
                    next_total_dim = total_dim + self._upper_layer_width(self.layer_id_to_input_node_ids[layer_id][1])
                self._search_next(v, next_start_dim, next_total_dim, n_add)

            else:
                self._search_next(v, start_dim, total_dim, n_add)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: keras-team/autokeras
Commit Name: 9c889d184047c2613fb9f8473f3f8a4b11bd452d
Time: 2018-05-11
Author: jin@tamu.edu
File Name: autokeras/graph.py
Class Name: Graph
Method Name: _search_next


Project Name: keras-team/autokeras
Commit Name: 9c889d184047c2613fb9f8473f3f8a4b11bd452d
Time: 2018-05-11
Author: jin@tamu.edu
File Name: autokeras/graph.py
Class Name: Graph
Method Name: _search_next