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

Method getAxis

include/NvInfer.h:6164–6167  ·  view source on GitHub ↗

\brief Get the quantization axis. \return axis parameter set by setAxis(). The return value is the index of the quantization axis in the input tensor's dimensions. A value of -1 indicates per-tensor quantization. The default value is -1.

Source from the content-addressed store, hash-verified

6162 //! The default value is -1.
6163 //!
6164 int32_t getAxis() const noexcept
6165 {
6166 return mImpl->getAxis();
6167 }
6168 //!
6169 //! \brief Set the quantization axis.
6170 //!

Callers

nothing calls this directly

Calls 1

getAxisMethod · 0.45

Tested by

no test coverage detected