C# Класс ManagedCuda.CudaDNN.FilterDescriptor

An opaque structure holding the description of a filter dataset.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Dispose ( ) : void

Dispose

FilterDescriptor ( ) : System

GetFilter4dDescriptor ( cudnnDataType &dataType, cudnnTensorFormat &format, int &k, int &c, int &h, int &w ) : void

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

GetFilterNdDescriptor ( int nbDimsRequested, cudnnDataType &dataType, cudnnTensorFormat &format, int &nbDims, int filterDimA ) : void

This function queries a previously initialized filter descriptor object.

SetFilter4dDescriptor ( cudnnDataType dataType, cudnnTensorFormat format, int k, int c, int h, int w ) : void

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

SetFilterNdDescriptor ( cudnnDataType dataType, cudnnTensorFormat format, int nbDims, int filterDimA ) : void

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

Защищенные методы

Метод Описание
Dispose ( bool fDisposing ) : void

For IDisposable

Описание методов

Dispose() публичный Метод

Dispose
public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

For IDisposable
protected Dispose ( bool fDisposing ) : void
fDisposing bool
Результат void

FilterDescriptor() публичный Метод

public FilterDescriptor ( ) : System
Результат System

GetFilter4dDescriptor() публичный Метод

This function queries the parameters of the previouly initialized filter descriptor object.
public GetFilter4dDescriptor ( cudnnDataType &dataType, cudnnTensorFormat &format, int &k, int &c, int &h, int &w ) : void
dataType cudnnDataType Data type.
format cudnnTensorFormat Enumerant holding the layout format.
k int Number of output feature maps.
c int Number of input feature maps.
h int Height of each filter.
w int Width of each filter.
Результат void

GetFilterNdDescriptor() публичный Метод

This function queries a previously initialized filter descriptor object.
public GetFilterNdDescriptor ( int nbDimsRequested, cudnnDataType &dataType, cudnnTensorFormat &format, int &nbDims, int filterDimA ) : void
nbDimsRequested int 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
dataType cudnnDataType Data type.
format cudnnTensorFormat Enumerant holding the layout format.
nbDims int Actual dimension of the filter.
filterDimA int Array of dimension of at least nbDimsRequested that will be filled with /// the filter parameters from the provided filter descriptor.
Результат void

SetFilter4dDescriptor() публичный Метод

This function initializes a previously created filter descriptor object into a 4D filter. Filters layout must be contiguous in memory.
public SetFilter4dDescriptor ( cudnnDataType dataType, cudnnTensorFormat format, int k, int c, int h, int w ) : void
dataType cudnnDataType Data type.
format cudnnTensorFormat Enumerant holding the layout format.
k int Number of output feature maps.
c int Number of input feature maps.
h int Height of each filter.
w int Width of each filter.
Результат void

SetFilterNdDescriptor() публичный Метод

This function initializes a previously created filter descriptor object. Filters layout must be contiguous in memory.
public SetFilterNdDescriptor ( cudnnDataType dataType, cudnnTensorFormat format, int nbDims, int filterDimA ) : void
dataType cudnnDataType Data type.
format cudnnTensorFormat Enumerant holding the layout format.
nbDims int Dimension of the filter.
filterDimA int Array of dimension nbDims containing the size of the filter for each dimension.
Результат void