87601dbf79396f79bbc3af59b9627b4bd1adef44,stellargraph/layer/graphsage.py,GraphSAGEAggregator,build,#GraphSAGEAggregator#Any#,103
Before Change
// Build a MLP model if zero neighbours
self._build_mlp_only = input_shape[1][2] == 0
self.w_self = self.add_weight(
name="w_self",
shape=(int(input_shape[0][2]), self.weight_output_size()),
initializer=self._initializer,
trainable=True,
)
if self.has_bias:
self.bias = self.add_weight(
name="bias",
After Change
// Configure weights for input groups, if used.
w_group = [None] * len(input_shape)
for ii, g_shape in enumerate(input_shape):
if self.included_weight_groups[ii]:
weight = self._build_group_weights(
g_shape, self.weight_dims[ii], group_idx=ii
)
w_group[ii] = weight
self.w_group = w_group
// Signal that the build has completed.
super().build(input_shape)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
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: ilastik/ilastik
Commit Name: c8105b3974fba93097bd28e5ae14a27e5f56c857
Time: 2013-03-14
Author: bergs@janelia.hhmi.org
File Name: ilastik/applets/objectExtraction/objectExtractionSerializer.py
Class Name: SerialLabelImageSlot
Method Name: deserialize
Project Name: ilastik/ilastik
Commit Name: c8105b3974fba93097bd28e5ae14a27e5f56c857
Time: 2013-03-14
Author: bergs@janelia.hhmi.org
File Name: ilastik/applets/objectExtraction/objectExtractionSerializer.py
Class Name: SerialObjectFeaturesSlot
Method Name: deserialize