Library/ManagedCuda/CudaDNN/CudaDNNNativeMethods.cs
/// <summary>
/// This function queries the parameters of the previouly initialized 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 queries the parameters of the previouly initialized activation descriptor object.
This function queries the parameters of the previouly initialized activation descriptor object .
[DllImport(CUDNN_API_DLL_NAME)]
        public static extern cudnnStatus cudnnGetActivationDescriptor(
                                cudnnActivationDescriptor activationDesc,
                                ref cudnnActivationMode              mode,
                                ref cudnnNanPropagation reluNanOpt,
                                ref double coef);
[ DllImport ( CUDNN_API_DLL_NAME ) ] public static extern cudnnStatus cudnnGetActivationDescriptor ( cudnnActivationDescriptor activationDesc , ref cudnnActivationMode mode , ref cudnnNanPropagation reluNanOpt , ref double coef ) ;
This function queries the parameters of the previouly initialized activation descriptor object.
This function queries the parameters of the previouly initialized activation descriptor object .
activationDesc
cudnnActivationDescriptor
Handle to the previously created activation descriptor object.
Handle to the previously created activation descriptor object .
cudnnActivationMode
ref
cudnnNanPropagation
ref
double
ref
mode
Enumerant to specify the activation mode.
Enumerant to specify the activation mode .
reluNanOpt
Nan propagation option for the relu.
Nan propagation option for the relu .
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.
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 .