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

Method setAlpha

include/NvInfer.h:5917–5920  ·  view source on GitHub ↗

\brief Set the alpha parameter. \param alpha has different meanings for each operator: Operation | Usage kLINSPACE | the start value, defaults to 0.0; kRANDOM_UNIFORM | the minimum value, defaults to 0.0; kRANDOM_NORMAL | the mean of the normal distribution, default is 0.0; If a second input had been used to create this layer, that input is reset to null by this method.

Source from the content-addressed store, hash-verified

5915 //! \see getAlpha
5916 //
5917 void setAlpha(double alpha) noexcept
5918 {
5919 mImpl->setAlpha(alpha);
5920 }
5921
5922 //!
5923 //! \brief Get the value of alpha parameter.

Callers

nothing calls this directly

Calls 1

setAlphaMethod · 0.45

Tested by

no test coverage detected