MCPcopy Create free account
hub / github.com/NVIDIA/DALI / err

Function err

dali/test/python/operator_1/test_normalize.py:205–206  ·  view source on GitHub ↗
(l1, l2)

Source from the content-addressed store, hash-verified

203
204
205def err(l1, l2):
206 return np.max([np.max(np.abs(a[0] - a[1])) for a in zip(l1, l2)])
207
208
209def check_float(l1, l2, eps=1e-3):

Callers 1

ValidateMethod · 0.85

Calls 1

maxMethod · 0.45

Tested by

no test coverage detected