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

Method allInputDimensionsSpecified

include/NvInferRuntime.h:3003–3006  ·  view source on GitHub ↗

\brief Whether all dynamic dimensions of input tensors have been specified \return True if all dynamic dimensions of input tensors have been specified by calling setBindingDimensions(). Trivially true if network has no dynamically shaped input tensors. Does not work with name-base interfaces eg. IExecutionContext::setInputShape(). Use IExecutionContext::inferShapes() instead. \see setBindingDi

Source from the content-addressed store, hash-verified

3001 //! \see setBindingDimensions(bindingIndex,dimensions)
3002 //!
3003 bool allInputDimensionsSpecified() const noexcept
3004 {
3005 return mImpl->allInputDimensionsSpecified();
3006 }
3007
3008 //!
3009 //! \brief Whether all input shape bindings have been specified

Callers 2

inferMethod · 0.80
prepareMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected