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

Method getInput

include/NvInfer.h:595–598  ·  view source on GitHub ↗

\brief Get the layer input corresponding to the given index. \param index The index of the input tensor. \return The input tensor, or nullptr if the index is out of range or the tensor is optional (\ref ISliceLayer and \ref IRNNv2Layer).

Source from the content-addressed store, hash-verified

593 //! (\ref ISliceLayer and \ref IRNNv2Layer).
594 //!
595 ITensor* getInput(int32_t index) const noexcept
596 {
597 return mLayer->getInput(index);
598 }
599
600 //!
601 //! \brief Get the number of outputs of a layer.

Callers 15

buildMethod · 0.45
buildMethod · 0.45
buildMethod · 0.45
buildPredictionEngineMethod · 0.45
RndInt8CalibratorMethod · 0.45
setTensorDynamicRangeFunction · 0.45
setLayerPrecisionsFunction · 0.45
setupNetworkAndConfigFunction · 0.45
setAllDynamicRangesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected