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

Function volume

plugin/common/bertCommon.h:152–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152inline int64_t volume(nvinfer1::Dims const& d)
153{
154 return std::accumulate(d.d, d.d + d.nbDims, int64_t{1}, std::multiplies<int64_t>{});
155}
156
157template <typename IntType>
158constexpr IntType ceildiv(IntType a, IntType b)

Callers 5

enqueueMethod · 0.50
configurePluginMethod · 0.50
enqueueMethod · 0.50
configurePluginMethod · 0.50
enqueueMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected