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

Function csrmask_real

python/dgl/backend/tensorflow/sparse.py:447–453  ·  view source on GitHub ↗
(gidxA, A_weights, gidxB)

Source from the content-addressed store, hash-verified

445
446
447def csrmask_real(gidxA, A_weights, gidxB):
448 B_weights = _csrmask(gidxA, A_weights, gidxB)
449
450 def grad(dB_weights):
451 return _csrmask(gidxB, dB_weights, gidxA)
452
453 return B_weights, grad
454
455
456def csrmask(gidxA, A_weights, gidxB):

Callers 1

_lambdaFunction · 0.85

Calls 1

_csrmaskFunction · 0.85

Tested by

no test coverage detected