MCPcopy Create free account
hub / github.com/CVCUDA/CV-CUDA / test_tensor_create_for_imgbatch_packed

Function test_tensor_create_for_imgbatch_packed

tests/cvcuda/python/test_tensor.py:296–298  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

294
295
296def test_tensor_create_for_imgbatch_packed():
297 tensor = cvcuda.Tensor(2, (37, 7), cvcuda.Format.RGB8, rowalign=1)
298 assert tensor.cuda().strides == (37 * 7 * 3, 37 * 3, 3, 1)
299
300
301@t.mark.parametrize(

Callers

nothing calls this directly

Calls 2

cudaMethod · 0.95
TensorMethod · 0.45

Tested by

no test coverage detected