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

Method getDimensions

include/NvInfer.h:235–238  ·  view source on GitHub ↗

\brief Get the dimensions of a tensor. \return The dimensions of the tensor. \warning getDimensions() returns a -1 for dimensions that are derived from a wildcard dimension. \see setDimensions()

Source from the content-addressed store, hash-verified

233 //! \see setDimensions()
234 //!
235 Dims getDimensions() const noexcept
236 {
237 return mImpl->getDimensions();
238 }
239
240 //!
241 //! \brief Set the data type of a tensor.

Callers 11

buildMethod · 0.45
buildMethod · 0.45
buildMethod · 0.45
buildPredictionEngineMethod · 0.45
setupNetworkAndConfigFunction · 0.45
buildMethod · 0.45
buildMethod · 0.45
getDimensionsMethod · 0.45
getDimensionsMethod · 0.45
getDimensionsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected