Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/DALI
/ test_tensor_str_empty
Function
test_tensor_str_empty
dali/test/python/test_backend_impl.py:470–473 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
468
469
470
def
test_tensor_str_empty():
471
t = TensorCPU(np.empty(0))
472
params = [[],
"DALIDataType.FLOAT64"
, [0]]
473
_test_str(t, params, _expected_tensor_str)
474
475
476
def
test_tensor_str_sample():
Callers
nothing calls this directly
Calls
2
_test_str
Function · 0.85
empty
Method · 0.45
Tested by
no test coverage detected