Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/dmlc/dgl
/ check_close
Function
check_close
tests/python/mxnet/test_nn.py:21–22 ·
view source on GitHub ↗
(a, b)
Source
from the content-addressed store, hash-verified
19
20
21
def
check_close(a, b):
22
assert np.allclose(a.asnumpy(), b.asnumpy(), rtol=1e-4, atol=1e-4)
23
24
25
def
_AXWb(A, X, W, b):
Callers
2
test_graph_conv
Function · 0.85
test_simple_pool
Function · 0.85
Calls
1
asnumpy
Method · 0.80
Tested by
no test coverage detected