MCPcopy
hub / github.com/dmlc/dgl / forward

Method forward

python/dgl/backend/mxnet/sparse.py:417–419  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

415 self.m = m
416
417 def forward(self, x):
418 y = _scatter_add(x, self.idx, self.m)
419 return y
420
421 def backward(self, dy):
422 return dy[self.idx]

Callers

nothing calls this directly

Calls 1

_scatter_addFunction · 0.50

Tested by

no test coverage detected