927d2b319bc7a6c31c63ad64e6124477c2a5b583,examples/pytorch/ogb/ogbn-products/graphsage/main.py,SAGE,inference,#SAGE#Any#Any#Any#Any#,56
Before Change
h = x[input_nodes].to(device)
h_dst = h[:block.number_of_dst_nodes()]
h = layer(block, (h, h_dst))
if l != len(self.layers) - 1:
h = self.activation(h)
h = self.dropout(h)
y[output_nodes] = h.cpu()
x = y
return y
After Change
Evaluate the model on the validation set specified by ``val_mask``.
g : The entire graph.
inputs : The features o f all the nodes.
labels : The labels of al l the nodes.
val_mask : A 0-1 mask indicating which nodes do we actually compute the accuracy for.
device : The GPU device to evaluate on.
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances Project Name: dmlc/dgl
Commit Name: 927d2b319bc7a6c31c63ad64e6124477c2a5b583
Time: 2020-12-28
Author: mufeili1996@gmail.com
File Name: examples/pytorch/ogb/ogbn-products/graphsage/main.py
Class Name: SAGE
Method Name: inference
Project Name: SheffieldML/GPy
Commit Name: fce4dd7fdea42d24abb14396d02bf1bf475e15d7
Time: 2013-04-01
Author: neil@stefano.(none)
File Name: GPy/util/mocap.py
Class Name:
Method Name: load_text_data
Project Name: AIRLab-POLIMI/mushroom
Commit Name: d004f47d24c87933e668fc3efcd8b6cd448d4b72
Time: 2017-09-29
Author: carloderamo@gmail.com
File Name: mushroom/algorithms/dqn.py
Class Name: WeightedDQN
Method Name: _next_q
Project Name: tyarkoni/pliers
Commit Name: b3cf6fd0c65394a97c2dbcff6dd835de5006e10f
Time: 2016-10-12
Author: tyarkoni@gmail.com
File Name: featurex/extractors/audio.py
Class Name: STFTExtractor
Method Name: _extract