public abstract class BaseCudnnHelper extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
BaseCudnnHelper.CudnnContext |
protected static class |
BaseCudnnHelper.DataCache |
protected static class |
BaseCudnnHelper.TensorArray |
| Modifier and Type | Field and Description |
|---|---|
protected org.bytedeco.javacpp.Pointer |
alpha |
protected org.bytedeco.javacpp.Pointer |
beta |
protected int |
dataType |
protected int |
dataTypeSize |
protected org.bytedeco.javacpp.SizeTPointer |
sizeInBytes |
protected static int |
TENSOR_FORMAT |
| Constructor and Description |
|---|
BaseCudnnHelper() |
| Modifier and Type | Method and Description |
|---|---|
protected static int[] |
adaptForTensorDescr(int[] shapeOrStrides)
From CuDNN documentation -
"Tensors are restricted to having at least 4 dimensions...
|
protected static void |
checkCuda(int error) |
protected static void |
checkCudnn(int status) |
boolean |
checkSupported() |
static int |
toCudnnDataType(org.nd4j.linalg.api.buffer.DataBuffer.Type type) |
protected static final int TENSOR_FORMAT
protected int dataType
protected int dataTypeSize
protected org.bytedeco.javacpp.Pointer alpha
protected org.bytedeco.javacpp.Pointer beta
protected org.bytedeco.javacpp.SizeTPointer sizeInBytes
protected static void checkCuda(int error)
protected static void checkCudnn(int status)
public static int toCudnnDataType(org.nd4j.linalg.api.buffer.DataBuffer.Type type)
public boolean checkSupported()
protected static int[] adaptForTensorDescr(int[] shapeOrStrides)
shapeOrStrides - Copyright © 2018. All rights reserved.