Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/DALI
/ bad_source
Function
bad_source
dali/test/python/decoder/test_numpy.py:140–141 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
138
@raises(RuntimeError,
"Got bad magic string for numpy header"
)
139
def
test_raise_bad_numpy_magic():
140
def
bad_source():
141
yield
(np.zeros(100, dtype=np.uint8),)
142
143
@pipeline_def(batch_size=1, num_threads=1)
144
def
pipe():
Callers
1
pipe
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected