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

Method setType

include/NvInfer.h:250–253  ·  view source on GitHub ↗

\brief Set the data type of a tensor. \param type The data type of the tensor. The type is unchanged if the tensor is not a network input tensor, or marked as an output tensor or shape output tensor. \see getType()

Source from the content-addressed store, hash-verified

248 //! \see getType()
249 //!
250 void setType(DataType type) noexcept
251 {
252 mImpl->setType(type);
253 }
254
255 //!
256 //! \brief Get the data type of a tensor.

Callers 3

constructNetworkMethod · 0.80
setupNetworkAndConfigFunction · 0.80
buildMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected