MCPcopy Index your code
hub / github.com/dqwang122/HeterSumGraph / forward

Method forward

HiGraph.py:82–110  ·  view source on GitHub ↗

:param graph: [batch_size] * DGLGraph node: word: unit=0, dtype=0, id=(int)wordid in vocab sentence: unit=1, dtype=1, words=tensor, position=int, label=tensor edge: word2sent, sent2word: tffrac=int, type=0

(self, graph)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

run_trainingFunction · 0.45
_sent_cnn_featureMethod · 0.45
evaluationMethod · 0.45

Calls 2

set_wnfeatureMethod · 0.95
set_snfeatureMethod · 0.95

Tested by 1

evaluationMethod · 0.36