C# 클래스 ManagedCuda.CudaDNN.PoolingDescriptor

An opaque structure holding the description of a pooling operation.
상속: IDisposable
파일 보기 프로젝트 열기: kunzmi/managedCuda 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Dispose

GetPooling2dDescriptor ( cudnnPoolingMode &mode, cudnnNanPropagation &maxpoolingNanOpt, int &windowHeight, int &windowWidth, int &verticalPadding, int &horizontalPadding, int &verticalStride, int &horizontalStride ) : void

This function queries a previously created 2D pooling descriptor object.

GetPooling2dForwardOutputDim ( TensorDescriptor inputTensorDesc, int &outN, int &outC, int &outH, int &outW ) : void

This function provides the output dimensions of a tensor after 2d pooling has been applied

GetPoolingNdDescriptor ( int nbDimsRequested, cudnnPoolingMode &mode, cudnnNanPropagation &maxpoolingNanOpt, int &nbDims, int windowDimA, int paddingA, int strideA ) : void

This function queries a previously initialized generic pooling descriptor object.

GetPoolingNdForwardOutputDim ( TensorDescriptor inputTensorDesc, int nbDims, int outputTensorDimA ) : void

This function provides the output dimensions of a tensor after Nd pooling has been applied

PoolingDescriptor ( ) : System

SetPooling2dDescriptor ( cudnnPoolingMode mode, cudnnNanPropagation maxpoolingNanOpt, int windowHeight, int windowWidth, int verticalPadding, int horizontalPadding, int verticalStride, int horizontalStride ) : void

This function initializes a previously created generic pooling descriptor object into a 2D description.

SetPoolingNdDescriptor ( cudnnPoolingMode mode, cudnnNanPropagation maxpoolingNanOpt, int nbDims, int windowDimA, int paddingA, int strideA ) : void

This function initializes a previously created generic pooling descriptor object.

보호된 메소드들

메소드 설명
Dispose ( bool fDisposing ) : void

For IDisposable

메소드 상세

Dispose() 공개 메소드

Dispose
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

For IDisposable
protected Dispose ( bool fDisposing ) : void
fDisposing bool
리턴 void

GetPooling2dDescriptor() 공개 메소드

This function queries a previously created 2D pooling descriptor object.
public GetPooling2dDescriptor ( cudnnPoolingMode &mode, cudnnNanPropagation &maxpoolingNanOpt, int &windowHeight, int &windowWidth, int &verticalPadding, int &horizontalPadding, int &verticalStride, int &horizontalStride ) : void
mode cudnnPoolingMode Enumerant to specify the pooling mode.
maxpoolingNanOpt cudnnNanPropagation Nan propagation option for max pooling.
windowHeight int Height of the pooling window.
windowWidth int Width of the pooling window.
verticalPadding int Size of vertical padding.
horizontalPadding int Size of horizontal padding.
verticalStride int Pooling vertical stride.
horizontalStride int Pooling horizontal stride.
리턴 void

GetPooling2dForwardOutputDim() 공개 메소드

This function provides the output dimensions of a tensor after 2d pooling has been applied
public GetPooling2dForwardOutputDim ( TensorDescriptor inputTensorDesc, int &outN, int &outC, int &outH, int &outW ) : void
inputTensorDesc TensorDescriptor Handle to the previously initialized input tensor descriptor.
outN int Number of images in the output
outC int Number of channels in the output
outH int Height of images in the output
outW int Width of images in the output
리턴 void

GetPoolingNdDescriptor() 공개 메소드

This function queries a previously initialized generic pooling descriptor object.
public GetPoolingNdDescriptor ( int nbDimsRequested, cudnnPoolingMode &mode, cudnnNanPropagation &maxpoolingNanOpt, int &nbDims, int windowDimA, int paddingA, int strideA ) : void
nbDimsRequested int Dimension of the expected pooling descriptor. It is also the minimum /// size of the arrays windowDimA, paddingA and strideA in order to be /// able to hold the results
mode cudnnPoolingMode Enumerant to specify the pooling mode.
maxpoolingNanOpt cudnnNanPropagation Nan propagation option for max pooling.
nbDims int Actual dimension of the pooling descriptor.
windowDimA int Array of dimension of at least nbDimsRequested that will be filled with /// the window parameters from the provided pooling descriptor.
paddingA int Array of dimension of at least nbDimsRequested that will be filled with /// the padding parameters from the provided pooling descriptor.
strideA int Array of dimension at least nbDimsRequested that will be filled with /// the stride parameters from the provided pooling descriptor.
리턴 void

GetPoolingNdForwardOutputDim() 공개 메소드

This function provides the output dimensions of a tensor after Nd pooling has been applied
public GetPoolingNdForwardOutputDim ( TensorDescriptor inputTensorDesc, int nbDims, int outputTensorDimA ) : void
inputTensorDesc TensorDescriptor Handle to the previously initialized input tensor descriptor.
nbDims int Number of dimensions in which pooling is to be applied.
outputTensorDimA int Array of nbDims output dimensions
리턴 void

PoolingDescriptor() 공개 메소드

public PoolingDescriptor ( ) : System
리턴 System

SetPooling2dDescriptor() 공개 메소드

This function initializes a previously created generic pooling descriptor object into a 2D description.
public SetPooling2dDescriptor ( cudnnPoolingMode mode, cudnnNanPropagation maxpoolingNanOpt, int windowHeight, int windowWidth, int verticalPadding, int horizontalPadding, int verticalStride, int horizontalStride ) : void
mode cudnnPoolingMode Enumerant to specify the pooling mode.
maxpoolingNanOpt cudnnNanPropagation Nan propagation option for max pooling.
windowHeight int Height of the pooling window.
windowWidth int Width of the pooling window.
verticalPadding int Size of vertical padding.
horizontalPadding int Size of horizontal padding
verticalStride int Pooling vertical stride.
horizontalStride int Pooling horizontal stride.
리턴 void

SetPoolingNdDescriptor() 공개 메소드

This function initializes a previously created generic pooling descriptor object.
public SetPoolingNdDescriptor ( cudnnPoolingMode mode, cudnnNanPropagation maxpoolingNanOpt, int nbDims, int windowDimA, int paddingA, int strideA ) : void
mode cudnnPoolingMode Enumerant to specify the pooling mode.
maxpoolingNanOpt cudnnNanPropagation Nan propagation option for max pooling.
nbDims int Dimension of the pooling operation.
windowDimA int Array of dimension nbDims containing the window size for each dimension.
paddingA int Array of dimension nbDims containing the padding size for each dimension.
strideA int Array of dimension nbDims containing the striding size for each dimension.
리턴 void