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

Method setAlpha

include/NvInfer.h:1661–1664  ·  view source on GitHub ↗

\brief Set the alpha parameter (must be finite). This parameter is used by the following activations: LeakyRelu, Elu, Selu, Softplus, Clip, HardSigmoid, ScaledTanh, ThresholdedRelu. It is ignored by the other activations. \see getAlpha(), setBeta()

Source from the content-addressed store, hash-verified

1659 //!
1660 //! \see getAlpha(), setBeta()
1661 void setAlpha(float alpha) noexcept
1662 {
1663 mImpl->setAlpha(alpha);
1664 }
1665
1666 //!
1667 //! \brief Set the beta parameter (must be finite).

Callers

nothing calls this directly

Calls 1

setAlphaMethod · 0.45

Tested by

no test coverage detected