5f341caf872423529bc65d5257691a484d934c3d,tensorlayer/models/core.py,Model,_construct_graph,#Model#,539
Before Change
node.out_nodes.append(cur_node)
if node.name not in visited_node_names:
visited_node_names.append(node.name)
queue_node.put(node)
// else have multiple layers with the same name
else:
raise ValueError(
"Layer name \"%s\" has already been used by another layer. Please change the layer name." % node.layer.name
After Change
for node in in_nodes:
node.out_nodes.append(cur_node)
if not node.visited:
queue_node.put(node)
node.visited = True
if node.name not in visited_node_names:
visited_node_names.add(node.name)
// else have multiple layers with the same name
else:
raise ValueError(
"Layer name \"%s\" has already been used by another layer. Please change the layer name." % node.layer.name
)
// construct the computation graph in top-sort order
cur_depth = [tensor._info[0] for tensor in input_tensors_list]
next_depth = []
indegrees = {}
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: tensorlayer/tensorlayer
Commit Name: 5f341caf872423529bc65d5257691a484d934c3d
Time: 2019-04-04
Author: ivbensekin@gmail.com
File Name: tensorlayer/models/core.py
Class Name: Model
Method Name: _construct_graph
Project Name: dmlc/gluon-nlp
Commit Name: 46c595168cabd5ce99981748204c53de4ffe0261
Time: 2018-11-19
Author: leonard@lausen.nl
File Name: src/gluonnlp/data/stream.py
Class Name: _Prefetcher
Method Name: __next__
Project Name: microsoft/nni
Commit Name: 04c30254d4bd16b07958110165f59e9ac9fbf5c6
Time: 2019-07-16
Author: 38930155+chicm-ms@users.noreply.github.com
File Name: tools/nni_trial_tool/log_utils.py
Class Name: PipeLogReader
Method Name: run