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

Method setName

include/NvInfer.h:191–194  ·  view source on GitHub ↗

\brief Set the tensor name. For a network input, the name is assigned by the application. For tensors which are layer outputs, a default name is assigned consisting of the layer name followed by the index of the output in brackets. This method copies the name string. \param name The name. \warning The string name must be null-terminated, and be at most 4096 bytes including the terminator. \se

Source from the content-addressed store, hash-verified

189 //! \see getName()
190 //!
191 void setName(char const* name) noexcept
192 {
193 mImpl->setName(name);
194 }
195
196 //!
197 //! \brief Get the tensor name.

Callers

nothing calls this directly

Calls 1

setNameMethod · 0.45

Tested by

no test coverage detected