Show / Hide Table of Contents

    Class FilterDescriptor

    An opaque structure holding the description of a filter dataset.

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

    Constructors

    | Improve this Doc View Source

    FilterDescriptor()

    Declaration
    public FilterDescriptor()

    Properties

    | Improve this Doc View Source

    Desc

    Returns the inner handle.

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

    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

    GetFilter4dDescriptor(ref cudnnDataType, ref cudnnTensorFormat, ref Int32, ref Int32, ref Int32, ref Int32)

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

    Declaration
    public void GetFilter4dDescriptor(ref cudnnDataType dataType, ref cudnnTensorFormat format, ref int k, ref int c, ref int h, ref int w)
    Parameters
    Type Name Description
    cudnnDataType dataType

    Data type.

    cudnnTensorFormat format

    Enumerant holding the layout format.

    System.Int32 k

    Number of output feature maps.

    System.Int32 c

    Number of input feature maps.

    System.Int32 h

    Height of each filter.

    System.Int32 w

    Width of each filter.

    | Improve this Doc View Source

    GetFilterNdDescriptor(Int32, ref cudnnDataType, ref cudnnTensorFormat, ref Int32, Int32[])

    This function queries a previously initialized filter descriptor object.

    Declaration
    public void GetFilterNdDescriptor(int nbDimsRequested, ref cudnnDataType dataType, ref cudnnTensorFormat format, ref int nbDims, int[] filterDimA)
    Parameters
    Type Name Description
    System.Int32 nbDimsRequested

    Dimension of the expected filter descriptor. It is also the minimum size of the arrays filterDimA in order to be able to hold the results

    cudnnDataType dataType

    Data type.

    cudnnTensorFormat format

    Enumerant holding the layout format.

    System.Int32 nbDims

    Actual dimension of the filter.

    System.Int32[] filterDimA

    Array of dimension of at least nbDimsRequested that will be filled with the filter parameters from the provided filter descriptor.

    | Improve this Doc View Source

    SetFilter4dDescriptor(cudnnDataType, cudnnTensorFormat, Int32, Int32, Int32, Int32)

    This function initializes a previously created filter descriptor object into a 4D filter. Filters layout must be contiguous in memory.

    Declaration
    public void SetFilter4dDescriptor(cudnnDataType dataType, cudnnTensorFormat format, int k, int c, int h, int w)
    Parameters
    Type Name Description
    cudnnDataType dataType

    Data type.

    cudnnTensorFormat format

    Enumerant holding the layout format.

    System.Int32 k

    Number of output feature maps.

    System.Int32 c

    Number of input feature maps.

    System.Int32 h

    Height of each filter.

    System.Int32 w

    Width of each filter.

    | Improve this Doc View Source

    SetFilterNdDescriptor(cudnnDataType, cudnnTensorFormat, Int32, Int32[])

    This function initializes a previously created filter descriptor object. Filters layout must be contiguous in memory.

    Declaration
    public void SetFilterNdDescriptor(cudnnDataType dataType, cudnnTensorFormat format, int nbDims, int[] filterDimA)
    Parameters
    Type Name Description
    cudnnDataType dataType

    Data type.

    cudnnTensorFormat format

    Enumerant holding the layout format.

    System.Int32 nbDims

    Dimension of the filter.

    System.Int32[] filterDimA

    Array of dimension nbDims containing the size of the filter for each dimension.

    Implements

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