01a2b5fcd6151bb7264607ef71945eee95b73ea4,deepchem/models/layers.py,DAGGather,build,#DAGGather#Any#,3082
Before Change
initializer=self.init,
trainable=True))
self.b_list.append(
self.add_weight(
name="bias",
shape=(self.n_outputs,),
initializer="zeros",
trainable=True) )
if self.dropout is not None and self.dropout > 0.0:
self.dropouts.append(Dropout(rate=self.dropout))
else:
After Change
prev_layer_size = self.n_graph_feat
for layer_size in self.layer_sizes:
self.W_list.append(init([prev_layer_size, layer_size]))
self.b_list.append(backend.zeros(shape=[
layer_size,
] ))
if self.dropout is not None and self.dropout > 0.0:
self.dropouts.append(Dropout(rate=self.dropout))
else:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: deepchem/deepchem
Commit Name: 01a2b5fcd6151bb7264607ef71945eee95b73ea4
Time: 2020-10-16
Author: hsjang1205@naver.com
File Name: deepchem/models/layers.py
Class Name: DAGGather
Method Name: build
Project Name: stellargraph/stellargraph
Commit Name: 87601dbf79396f79bbc3af59b9627b4bd1adef44
Time: 2019-09-23
Author: 52440942+geoffj-d61@users.noreply.github.com
File Name: stellargraph/layer/graphsage.py
Class Name: GraphSAGEAggregator
Method Name: build
Project Name: deepchem/deepchem
Commit Name: 01a2b5fcd6151bb7264607ef71945eee95b73ea4
Time: 2020-10-16
Author: hsjang1205@naver.com
File Name: deepchem/models/layers.py
Class Name: DAGLayer
Method Name: build