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

Method getMissingWeights

include/NvInferRuntime.h:1179–1182  ·  view source on GitHub ↗

\brief Get names of missing weights. For example, if some Weights have been set, but the engine was optimized in a way that combines weights, any unsupplied Weights in the combination are considered missing. \param size The number of weights names that can be safely written to. \param weightsNames The names of the weights to be updated, or nullptr for unnamed weights. \return The number of miss

Source from the content-addressed store, hash-verified

1177 //! the engine being refit, and becomes invalid when the engine is destroyed.
1178 //!
1179 int32_t getMissingWeights(int32_t size, char const** weightsNames) noexcept
1180 {
1181 return mImpl->getMissingWeights(size, weightsNames);
1182 }
1183
1184 //!
1185 //! \brief Get names of all weights that could be refit.

Callers 1

pyCore.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected