MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / array_comparator

Function array_comparator

imperative/python/megengine/jit/tracing.py:91–92  ·  view source on GitHub ↗
(lhs, rhs)

Source from the content-addressed store, hash-verified

89
90
91def array_comparator(lhs, rhs):
92 return np.all(lhs == rhs)
93
94
95class trace:

Callers 1

compare_valueMethod · 0.85

Calls 1

allMethod · 0.80

Tested by

no test coverage detected