MCPcopy Index your code
hub / github.com/dmlc/dgl / _AXWb

Function _AXWb

tests/python/mxnet/test_nn.py:25–28  ·  view source on GitHub ↗
(A, X, W, b)

Source from the content-addressed store, hash-verified

23
24
25def _AXWb(A, X, W, b):
26 X = mx.nd.dot(X, W.data(X.context))
27 Y = mx.nd.dot(A, X.reshape(X.shape[0], -1)).reshape(X.shape)
28 return Y + b.data(X.context)
29
30
31@parametrize_idtype

Callers 1

test_graph_convFunction · 0.70

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected