Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
205
def
err(l1, l2):
206
return
np.max([np.max(np.abs(a[0] - a[1]))
for
a in zip(l1, l2)])
207
208
209
def
check_float(l1, l2, eps=1e-3):
Callers
1
Validate
Method · 0.85
Calls
1
max
Method · 0.45
Tested by
no test coverage detected