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

Method setLocation

include/NvInfer.h:356–359  ·  view source on GitHub ↗

\brief Set the storage location of a tensor \param location the location of tensor data Only network input tensors for storing sequence lengths for RNNv2 are supported. Using host storage for layers that do not support it will generate errors at build time. \see getLocation()

Source from the content-addressed store, hash-verified

354 //! \see getLocation()
355 //!
356 void setLocation(TensorLocation location) noexcept
357 {
358 mImpl->setLocation(location);
359 }
360
361 //!
362 //! \brief Query whether dynamic range is set.

Callers 1

addLSTMLayersMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected