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

Method setFlags

include/NvInfer.h:9238–9241  ·  view source on GitHub ↗

\brief Set the build mode flags to turn on builder options for this network. The flags are listed in the BuilderFlags enum. The flags set configuration options to build the network. \param builderFlags The build option for an engine. \note This function will override the previous set flags, rather than bitwise ORing the new flag. \see getFlags()

Source from the content-addressed store, hash-verified

9236 //! \see getFlags()
9237 //!
9238 void setFlags(BuilderFlags builderFlags) noexcept
9239 {
9240 mImpl->setFlags(builderFlags);
9241 }
9242
9243 //!
9244 //! \brief Get the build mode flags for this builder config. Defaults to 0.

Callers 1

modelToNetworkFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected