Library/ManagedCuda/CudaDNN/CudaDNNNativeMethods.cs
///<summary>
/// This function initializes then previously created activation descriptor object.
/// </summary>
/// <param name="activationDesc">Handle to the previously created activation descriptor object.</param>
/// <param name="mode">Enumerant to specify the activation mode.</param>
/// <param name="reluNanOpt">Nan propagation option for the relu.</param>
/// <param name="coef">floating point number to specify the clipping threashold when the activation
/// mode is set to CUDNN_ACTIVATION_CLIPPED_RELU or to specify the alpha
/// coefficient when the activation mode is set to CUDNN_ACTIVATION_ELU.</param>
This function initializes then previously created activation descriptor object.
This function initializes then previously created activation descriptor object .
[DllImport(CUDNN_API_DLL_NAME)]
        public static extern cudnnStatus cudnnSetActivationDescriptor(
                                        cudnnActivationDescriptor activationDesc,
                                        cudnnActivationMode mode,
                                        cudnnNanPropagation reluNanOpt,
                                        double coef);
[ DllImport ( CUDNN_API_DLL_NAME ) ] public static extern cudnnStatus cudnnSetActivationDescriptor ( cudnnActivationDescriptor activationDesc , cudnnActivationMode mode , cudnnNanPropagation reluNanOpt , double coef ) ;
This function initializes then previously created activation descriptor object.
This function initializes then previously created activation descriptor object .
activationDesc
cudnnActivationDescriptor
Handle to the previously created activation descriptor object.
Handle to the previously created activation descriptor object .
mode
cudnnActivationMode
Enumerant to specify the activation mode.
Enumerant to specify the activation mode .
reluNanOpt
cudnnNanPropagation
Nan propagation option for the relu.
Nan propagation option for the relu .
coef
double
floating point number to specify the clipping threashold when the activation
mode is set to CUDNN_ACTIVATION_CLIPPED_RELU or to specify the alpha
coefficient when the activation mode is set to CUDNN_ACTIVATION_ELU.
floating point number to specify the clipping threashold when the activation mode is set to CUDNN_ACTIVATION_CLIPPED_RELU or to specify the alpha coefficient when the activation mode is set to CUDNN_ACTIVATION_ELU .