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

Method getLayer

include/NvInfer.h:7226–7229  ·  view source on GitHub ↗

\brief Get the layer specified by the given index. \param index The index of the layer. \return The layer, or nullptr if the index is out of range. \see getNbLayers()

Source from the content-addressed store, hash-verified

7224 //! \see getNbLayers()
7225 //!
7226 ILayer* getLayer(int32_t index) const noexcept
7227 {
7228 return mImpl->getLayer(index);
7229 }
7230
7231 //!
7232 //! \brief Get the number of inputs in the network.

Callers 13

pyGraph.cppFile · 0.80
setTensorDynamicRangeFunction · 0.80
setLayerPrecisionsFunction · 0.80
setLayerOutputTypesFunction · 0.80
setLayerDeviceTypesFunction · 0.80
setupNetworkAndConfigFunction · 0.80
timeRefitFunction · 0.80
sparsifyFunction · 0.80
setAllDynamicRangesFunction · 0.80
setLayerPrecisionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected