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

Method setAxes

include/NvInfer.h:2400–2403  ·  view source on GitHub ↗

\brief Set the axis along which softmax is computed. Currently, only one axis can be set. The axis is specified by setting the bit corresponding to the axis to 1. For example, consider an NCHW tensor as input (three non-batch dimensions). In implicit mode : Bit 0 corresponds to the C dimension boolean. Bit 1 corresponds to the H dimension boolean. Bit 2 corresponds to the W dimension boolean. By

Source from the content-addressed store, hash-verified

2398 //! = 1.
2399 //!
2400 void setAxes(uint32_t axes) noexcept
2401 {
2402 mImpl->setAxes(axes);
2403 }
2404
2405 //!
2406 //! \brief Get the axis along which softmax occurs.

Callers 3

buildPredictionEngineMethod · 0.45
parseSoftMaxFunction · 0.45
setAxesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected