public class CudnnSubsamplingHelper extends BaseCudnnHelper implements org.deeplearning4j.nn.layers.convolution.subsampling.SubsamplingHelper
BaseCudnnHelper.CudnnContext, BaseCudnnHelper.DataCache, BaseCudnnHelper.TensorArrayalpha, beta, dataType, dataTypeSize, sizeInBytes, TENSOR_FORMAT| Constructor and Description |
|---|
CudnnSubsamplingHelper() |
| Modifier and Type | Method and Description |
|---|---|
INDArray |
activate(INDArray input,
boolean training,
int[] kernel,
int[] strides,
int[] pad,
org.deeplearning4j.nn.conf.layers.PoolingType poolingType,
org.deeplearning4j.nn.conf.ConvolutionMode convolutionMode,
int[] dilation,
org.deeplearning4j.nn.workspace.LayerWorkspaceMgr workspaceMgr) |
org.nd4j.linalg.primitives.Pair<org.deeplearning4j.nn.gradient.Gradient,INDArray> |
backpropGradient(INDArray input,
INDArray epsilon,
int[] kernel,
int[] strides,
int[] pad,
org.deeplearning4j.nn.conf.layers.PoolingType poolingType,
org.deeplearning4j.nn.conf.ConvolutionMode convolutionMode,
int[] dilation,
org.deeplearning4j.nn.workspace.LayerWorkspaceMgr workspaceMgr) |
Map<String,Long> |
helperMemoryUse() |
adaptForTensorDescr, checkCuda, checkCudnn, checkSupported, toCudnnDataTypepublic org.nd4j.linalg.primitives.Pair<org.deeplearning4j.nn.gradient.Gradient,INDArray> backpropGradient(INDArray input, INDArray epsilon, int[] kernel, int[] strides, int[] pad, org.deeplearning4j.nn.conf.layers.PoolingType poolingType, org.deeplearning4j.nn.conf.ConvolutionMode convolutionMode, int[] dilation, org.deeplearning4j.nn.workspace.LayerWorkspaceMgr workspaceMgr)
backpropGradient in interface org.deeplearning4j.nn.layers.convolution.subsampling.SubsamplingHelperpublic INDArray activate(INDArray input, boolean training, int[] kernel, int[] strides, int[] pad, org.deeplearning4j.nn.conf.layers.PoolingType poolingType, org.deeplearning4j.nn.conf.ConvolutionMode convolutionMode, int[] dilation, org.deeplearning4j.nn.workspace.LayerWorkspaceMgr workspaceMgr)
activate in interface org.deeplearning4j.nn.layers.convolution.subsampling.SubsamplingHelperCopyright © 2018. All rights reserved.