Show / Hide Table of Contents

    Class DropoutDescriptor

    An opaque structure holding the description of a generic n-D dataset.

    Inheritance
    System.Object
    DropoutDescriptor
    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 DropoutDescriptor : IDisposable

    Constructors

    | Improve this Doc View Source

    DropoutDescriptor(CudaDNNContext)

    Declaration
    public DropoutDescriptor(CudaDNNContext context)
    Parameters
    Type Name Description
    CudaDNNContext context

    Properties

    | Improve this Doc View Source

    Desc

    Returns the inner handle.

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

    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

    SetDropoutDescriptor(Single, CudaDeviceVariable<Byte>, SizeT, UInt64)

    This function initializes a previously created dropout descriptor object. If states argument is equal to NULL, random number generator states won't be initialized, and only dropout value will be set. No other function should be writing to the memory

    Declaration
    public void SetDropoutDescriptor(float dropout, CudaDeviceVariable<byte> states, SizeT stateSizeInBytes, ulong seed)
    Parameters
    Type Name Description
    System.Single dropout

    The probability with which the value from input would be propagated through the dropout layer.

    CudaDeviceVariable<System.Byte> states

    Pointer to user-allocated GPU memory that will hold random number generator states.

    SizeT stateSizeInBytes

    Specifies size in bytes of the provided memory for the states.

    System.UInt64 seed

    Seed used to initialize random number generator states.

    Implements

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