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

Method setBeta

include/NvInfer.h:1675–1678  ·  view source on GitHub ↗

\brief Set the beta parameter (must be finite). This parameter is used by the following activations: Selu, Softplus, Clip, HardSigmoid, ScaledTanh. It is ignored by the other activations. \see getBeta(), setAlpha()

Source from the content-addressed store, hash-verified

1673 //!
1674 //! \see getBeta(), setAlpha()
1675 void setBeta(float beta) noexcept
1676 {
1677 mImpl->setBeta(beta);
1678 }
1679
1680 //!
1681 //! \brief Get the alpha parameter.

Callers

nothing calls this directly

Calls 1

setBetaMethod · 0.45

Tested by

no test coverage detected