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

Method setName

include/NvInfer.h:7660–7663  ·  view source on GitHub ↗

\brief Sets the name of the network. \param name The name to assign to this network. Set the name of the network so that it can be associated with a built engine. The \p name must be a null-terminated C-style string. TensorRT makes no use of this string except storing it as part of the engine so that it may be retrieved at runtime. A name unique to the builder will be generated by default. This

Source from the content-addressed store, hash-verified

7658 //! \return none
7659 //!
7660 void setName(char const* name) noexcept
7661 {
7662 mImpl->setName(name);
7663 }
7664
7665 //!
7666 //! \brief Returns the name associated with the network.

Callers

nothing calls this directly

Calls 1

setNameMethod · 0.45

Tested by

no test coverage detected