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

Method setInputTensorAddress

include/NvInferRuntime.h:3284–3287  ·  view source on GitHub ↗

\brief Set memory address for given input. \param tensorName The name of an input tensor. \param data The pointer (void const*) to the const data owned by the user. \return True on success, false if the provided name does not map to an input tensor, does not meet alignment requirements, or some other error occurred. Input addresses can also be set using method setTensorAddress, which requires a

Source from the content-addressed store, hash-verified

3282 //! \see setTensorAddress()
3283 //!
3284 bool setInputTensorAddress(char const* tensorName, void const* data) noexcept
3285 {
3286 return mImpl->setInputTensorAddress(tensorName, data);
3287 }
3288
3289 //!
3290 //! \brief Get memory address for given output.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected