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

Function main

samples/object_cache/threads.py:34–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32
33
34def main() -> None:
35 tensor = cvcuda.Tensor( # noqa: F841
36 (16, 32, 4), np.float32, cvcuda.TensorLayout.HWC
37 )
38 thread = threading.Thread(target=create_tensor_and_clear)
39 thread.start()
40 thread.join()
41
42
43# docs-end: main

Callers 1

threads.pyFile · 0.70

Calls 3

TensorMethod · 0.45
startMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected