Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
29
def
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
36
def
main() -> None:
Callers
1
main
Function · 0.85
Calls
1
Tensor
Method · 0.45
Tested by
no test coverage detected