Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CVCUDA/CV-CUDA
/ create_tensor
Function
create_tensor
samples/object_cache/unbounded_growth.py:25–26 ·
view source on GitHub ↗
(h: int, w: int)
Source
from the content-addressed store, hash-verified
23
24
25
def
create_tensor(h: int, w: int) -> None:
26
_ = cvcuda.Tensor((h, w, 3), np.float32, cvcuda.TensorLayout.HWC)
27
28
29
def
main(iters: int = 10_000) -> None:
Callers
1
main
Function · 0.70
Calls
1
Tensor
Method · 0.45
Tested by
no test coverage detected