public class OCLConvolutionOperation extends ConvolutionOperation
Modifier and Type | Field and Description |
---|---|
(package private) ConvolutionKernel |
kern
OpenCL convolution kernel.
|
kernel
Constructor and Description |
---|
OCLConvolutionOperation() |
OCLConvolutionOperation(Dataset k) |
OCLConvolutionOperation(double[][] k) |
Modifier and Type | Method and Description |
---|---|
void |
initCurrentVersion(java.util.Map<java.lang.String,java.lang.Object> objectMap)
Initializes an instance with a current-version object graph.
|
Dataset |
run(Dataset input)
Runs the convolution operator on the specified input file.
|
getHeight, getKernel, getObjectMap, getSerializationVersion, getVersion, getWidth
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init, initPreviousVersion, initUnknownVersion, load, read, save, write
ConvolutionKernel kern
public OCLConvolutionOperation()
public OCLConvolutionOperation(double[][] k)
public OCLConvolutionOperation(Dataset k)
public Dataset run(Dataset input)
run
in interface DatasetOperation
run
in class ConvolutionOperation
input
- Dataset on which to operatepublic void initCurrentVersion(java.util.Map<java.lang.String,java.lang.Object> objectMap)
ObjectMap
initCurrentVersion
in interface ObjectMap
initCurrentVersion
in class ConvolutionOperation
objectMap
- object graph for initialization