Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/TensorRT
/ getBufferSize
Method
getBufferSize
samples/sampleIOFormats/sampleIOFormats.cpp:141–144 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
139
return dims[0] * dims[1] * dims[2] * dims[3] * dims[4];
140
}
141
int32_t getBufferSize()
142
{
143
return getElememtSize() * dataWidth;
144
}
145
};
146
147
class SampleBuffer
Callers
3
getBufferSize
Method · 0.45
infer
Method · 0.45
reformat
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected