MCPcopy 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
45size_t ImageBase::volume() const
46{
47 return mDims.d[3] /* w */ * mDims.d[2] /* h */ * 3;
48}
49
50void ImageBase::read()
51{

Callers 15

should_eval_foldableMethod · 0.80
__init__Method · 0.80
_infer_impl_v3Method · 0.80
nbytesMethod · 0.80
resizeMethod · 0.80
test_large_allocationMethod · 0.80
test_volumeFunction · 0.80
arangeFunction · 0.80
allocate_buffersFunction · 0.80

Calls

no outgoing calls

Tested by 5

test_large_allocationMethod · 0.64
test_volumeFunction · 0.64
arangeFunction · 0.64