Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/TensorRT
/ volume
Method
volume
quickstart/common/util.cpp:45–48 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
43
}
44
45
size_t ImageBase::volume() const
46
{
47
return mDims.d[3] /* w */ * mDims.d[2] /* h */ * 3;
48
}
49
50
void ImageBase::read()
51
{
Callers
15
should_eval_foldable
Method · 0.80
__init__
Method · 0.80
test_folding_size_threshold
Method · 0.80
_infer_impl_v3
Method · 0.80
nbytes
Method · 0.80
resize
Method · 0.80
check_empty_tensor_expand
Function · 0.80
test_large_allocation
Method · 0.80
test_empty_tensor_to_host
Method · 0.80
test_volume
Function · 0.80
arange
Function · 0.80
allocate_buffers
Function · 0.80
Calls
no outgoing calls
Tested by
5
test_folding_size_threshold
Method · 0.64
test_large_allocation
Method · 0.64
test_empty_tensor_to_host
Method · 0.64
test_volume
Function · 0.64
arange
Function · 0.64