Show / Hide Table of Contents

    Class ActivationDescriptor

    Inheritance
    System.Object
    ActivationDescriptor
    Implements
    System.IDisposable
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: ManagedCuda.CudaDNN
    Assembly: CudaDNN.dll
    Syntax
    public class ActivationDescriptor : IDisposable

    Constructors

    | Improve this Doc View Source

    ActivationDescriptor()

    An opaque structure holding the description of an activation operation.

    Declaration
    public ActivationDescriptor()

    Properties

    | Improve this Doc View Source

    Desc

    Returns the inner handle.

    Declaration
    public cudnnActivationDescriptor Desc { get; }
    Property Value
    Type Description
    cudnnActivationDescriptor

    Methods

    | Improve this Doc View Source

    Dispose()

    Dispose

    Declaration
    public void Dispose()
    | Improve this Doc View Source

    Dispose(Boolean)

    For IDisposable

    Declaration
    protected virtual void Dispose(bool fDisposing)
    Parameters
    Type Name Description
    System.Boolean fDisposing
    | Improve this Doc View Source

    Finalize()

    For dispose

    Declaration
    protected void Finalize()
    | Improve this Doc View Source

    GetActivationDescriptor(ref cudnnActivationMode, ref cudnnNanPropagation, ref Double)

    This function queries the parameters of the previouly initialized activation descriptor object.

    Declaration
    public void GetActivationDescriptor(ref cudnnActivationMode mode, ref cudnnNanPropagation reluNanOpt, ref double coef)
    Parameters
    Type Name Description
    cudnnActivationMode mode

    Enumerant to specify the activation mode.

    cudnnNanPropagation reluNanOpt

    Nan propagation option for the relu.

    System.Double 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.

    | Improve this Doc View Source

    SetActivationDescriptor(cudnnActivationMode, cudnnNanPropagation, Double)

    This function initializes then previously created activation descriptor object.

    Declaration
    public void SetActivationDescriptor(cudnnActivationMode mode, cudnnNanPropagation reluNanOpt, double coef)
    Parameters
    Type Name Description
    cudnnActivationMode mode

    Enumerant to specify the activation mode.

    cudnnNanPropagation reluNanOpt

    Nan propagation option for the relu.

    System.Double 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.

    Implements

    System.IDisposable
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX