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

Function create_tensor2

samples/object_cache/reuse.py:29–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27
28
29def create_tensor2():
30 # Re-use the cache
31 tensor2 = cvcuda.Tensor( # noqa: F841
32 (16, 32, 4), np.float32, cvcuda.TensorLayout.HWC
33 )
34
35
36def main() -> None:

Callers 1

mainFunction · 0.85

Calls 1

TensorMethod · 0.45

Tested by

no test coverage detected