MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / setMaxBatchSize

Method setMaxBatchSize

samples/common/sampleConfig.h:175–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173 } //!< get the boolean variable corresponding to the Layer Info, see getPrintLayerInfo()
174
175 void setMaxBatchSize(int64_t maxBatchSize) noexcept
176 {
177 mMaxBatchSize = maxBatchSize;
178 } //!< set the Max Batch Size
179 int64_t getMaxBatchSize() const noexcept
180 {
181 return mMaxBatchSize;

Callers 3

buildMethod · 0.45
setupNetworkAndConfigFunction · 0.45
buildMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected