0aa1073c28edff2434b9a4d0fb0657084441a694,stellargraph/layer/graphsage.py,GraphSAGE,__call__,#GraphSAGE#Any#,533
Before Change
else _x[0]
)
assert isinstance(x, list), "Input features must be a list"
assert (
len(x) == self.n_layers + 1 > 1
), "Length of input features should match the number of GraphSAGE layers"
After Change
)
// Form GraphSAGE layers iteratively
self.layer_tensors = []
h_layer = xin
for layer in range(0, self.n_layers):
h_layer = apply_layer(h_layer, layer)
self.layer_tensors.append(h_layer)
return (
self._normalization(h_layer[0])
if len(h_layer) == 1
else [self._normalization(xi) for xi in h_layer]
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 9
Instances
Project Name: stellargraph/stellargraph
Commit Name: 0aa1073c28edff2434b9a4d0fb0657084441a694
Time: 2019-01-09
Author: andrew.docherty@data61.csiro.au
File Name: stellargraph/layer/graphsage.py
Class Name: GraphSAGE
Method Name: __call__
Project Name: open-mmlab/mmdetection
Commit Name: a6236b789b8f4e2e66c8379199f40ecef9afce06
Time: 2020-04-21
Author: 40779233+ZwwWayne@users.noreply.github.com
File Name: mmdet/core/anchor/anchor_generator.py
Class Name: AnchorGenerator
Method Name: valid_flags
Project Name: osmr/imgclsmob
Commit Name: 4ad1ebea7992d840e028ff513dc81e0073755d6e
Time: 2019-02-24
Author: osemery@gmail.com
File Name: pytorch/pytorchcv/models/others/oth_fractalnet_cifar10_2.py
Class Name: FractalNet
Method Name: forward
Project Name: ilastik/ilastik
Commit Name: 589442365d133fb993b4ea14b45a9123c6973e46
Time: 2012-09-13
Author: christoph.straehle@iwr.uni-heidelberg.de
File Name: lazyflow/operators/obsolete/classifierOperators.py
Class Name: OpTrainRandomForestBlocked
Method Name: execute