Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenNMT/CTranslate2
/ array_equal
Function
array_equal
python/tests/test_utils.py:31–32 ·
view source on GitHub ↗
(a, b)
Source
from the content-addressed store, hash-verified
29
30
31
def
array_equal(a, b):
32
return
a.dtype == b.dtype and np.array_equal(a, b)
33
34
35
skip_on_windows = pytest.mark.skipif(
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected