MCPcopy 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
147class SampleBuffer

Callers 3

getBufferSizeMethod · 0.45
inferMethod · 0.45
reformatFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected