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

Method getStrides

include/NvInfer.h:8491–8494  ·  view source on GitHub ↗

\brief Return strides of the input/output tensor of algorithm. For vectorized formats, strides are given in units of vectors. \return the strides of the tensor.

Source from the content-addressed store, hash-verified

8489 //! \return the strides of the tensor.
8490 //!
8491 Dims getStrides() const noexcept
8492 {
8493 return mImpl->getStrides();
8494 }
8495
8496 //!
8497 //! \brief Return the index of the vectorized dimension or -1 for non-vectorized formats.

Callers 5

getTensorInfoMethod · 0.45
IExecutionContext>Method · 0.45
reportAlgorithmsMethod · 0.45
reportAlgorithmsMethod · 0.45
areSameMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected