public class LibMatrixCuDNNConvolutionAlgorithm extends Object implements AutoCloseable
Modifier and Type | Field and Description |
---|---|
int |
algo |
long |
sizeInBytes |
jcuda.Pointer |
workSpace |
Modifier and Type | Method and Description |
---|---|
void |
close()
Deallocates the tensor and filter descriptors as well as allocated workspace
|
static LibMatrixCuDNNConvolutionAlgorithm |
cudnnGetConvolutionBackwardDataAlgorithm(GPUContext gCtx,
String instName,
int N,
int C,
int H,
int W,
int K,
int R,
int S,
int pad_h,
int pad_w,
int stride_h,
int stride_w,
int P,
int Q,
long workspaceLimit)
Factory method to get the algorithm wrapper for convolution backward data
|
static LibMatrixCuDNNConvolutionAlgorithm |
cudnnGetConvolutionBackwardFilterAlgorithm(GPUContext gCtx,
String instName,
int N,
int C,
int H,
int W,
int K,
int R,
int S,
int pad_h,
int pad_w,
int stride_h,
int stride_w,
int P,
int Q,
long workspaceLimit)
Factory method to get the algorithm wrapper for convolution backward filter
|
static LibMatrixCuDNNConvolutionAlgorithm |
cudnnGetConvolutionForwardAlgorithm(GPUContext gCtx,
String instName,
int N,
int C,
int H,
int W,
int K,
int R,
int S,
int pad_h,
int pad_w,
int stride_h,
int stride_w,
int P,
int Q,
long workspaceLimit)
Factory method to get the algorithm wrapper for convolution forward
|
public int algo
public jcuda.Pointer workSpace
public long sizeInBytes
public void close()
close
in interface AutoCloseable
public static LibMatrixCuDNNConvolutionAlgorithm cudnnGetConvolutionForwardAlgorithm(GPUContext gCtx, String instName, int N, int C, int H, int W, int K, int R, int S, int pad_h, int pad_w, int stride_h, int stride_w, int P, int Q, long workspaceLimit)
gCtx
- a valid GPUContext
instName
- the invoking instruction's name for record Statistics
.N
- number of input imagesC
- number of channelsH
- height of each imageW
- width of each imageK
- number of output "channels"R
- height of filterS
- width of filterpad_h
- padding heightpad_w
- padding widthstride_h
- stride heightstride_w
- string widthP
- output heightQ
- output widthworkspaceLimit
- maximum intermediate memory to usepublic static LibMatrixCuDNNConvolutionAlgorithm cudnnGetConvolutionBackwardFilterAlgorithm(GPUContext gCtx, String instName, int N, int C, int H, int W, int K, int R, int S, int pad_h, int pad_w, int stride_h, int stride_w, int P, int Q, long workspaceLimit)
gCtx
- a valid GPUContext
instName
- the invoking instruction's name for record Statistics
.N
- number of input imagesC
- number of channelsH
- height of each imageW
- width of each imageK
- number of output "channels"R
- height of filterS
- width of filterpad_h
- padding heightpad_w
- padding widthstride_h
- stride heightstride_w
- string widthP
- output heightQ
- output widthworkspaceLimit
- maximum intermediate memory to usepublic static LibMatrixCuDNNConvolutionAlgorithm cudnnGetConvolutionBackwardDataAlgorithm(GPUContext gCtx, String instName, int N, int C, int H, int W, int K, int R, int S, int pad_h, int pad_w, int stride_h, int stride_w, int P, int Q, long workspaceLimit)
gCtx
- a valid GPUContext
instName
- the invoking instruction's name for record Statistics
.N
- number of input imagesC
- number of channelsH
- height of each imageW
- width of each imageK
- number of output "channels"R
- height of filterS
- width of filterpad_h
- padding heightpad_w
- padding widthstride_h
- stride heightstride_w
- string widthP
- output heightQ
- output widthworkspaceLimit
- maximum intermediate memory to useCopyright © 2018 The Apache Software Foundation. All rights reserved.