MCPcopy 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
470def 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
476def test_tensor_str_sample():

Callers

nothing calls this directly

Calls 2

_test_strFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected