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

Function test_cupy_containers

dali/test/python/test_external_source_impl_utils.py:100–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98
99@attr("cupy")
100def test_cupy_containers():
101 import cupy as cp
102
103 test_array = cp.array([[42, 42], [42, 42]], dtype=cp.uint8)
104 disallowed_samples = [test_array, tensors.TensorGPU(test_array)]
105 disallowed_batches = [tensors.TensorListGPU(test_array)]
106 yield from run_checks([], [], disallowed_samples, disallowed_batches)

Callers

nothing calls this directly

Calls 1

run_checksFunction · 0.85

Tested by

no test coverage detected